release aufiting
This commit is contained in:
@@ -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();
|
||||
}
|
||||
});
|
||||
Reference in New Issue
Block a user