release aufiting

This commit is contained in:
Mark Gregory
2026-07-24 14:04:37 +01:00
parent bc9427ac33
commit c91ac80ab6
7 changed files with 328 additions and 0 deletions
@@ -0,0 +1,16 @@
<?php
use Illuminate\Support\Facades\Blade;
it('compiles application and module blade templates', function (): void {
$views = array_merge(
glob(resource_path('views/**/*.blade.php')) ?: [],
glob(base_path('Modules/*/Resources/views/**/*.blade.php')) ?: [],
);
foreach ($views as $view) {
$compiled = Blade::compileString((string) file_get_contents($view));
expect($compiled)->toBeString()->not->toBeEmpty();
}
});