fix: skip view wrapper when importing blade recipes
Some checks are pending
tests / ci (push) Waiting to run

This commit is contained in:
Benjamin Nussbaum 2025-09-25 16:39:56 +02:00
parent e443539357
commit 6ae3e023d4
2 changed files with 5 additions and 5 deletions

View file

@ -130,7 +130,9 @@ it('handles blade markup language correctly', function (): void {
$pluginImportService = new PluginImportService();
$plugin = $pluginImportService->importFromZip($zipFile, $user);
expect($plugin->markup_language)->toBe('blade');
expect($plugin->markup_language)->toBe('blade')
->and($plugin->render_markup)->not->toContain('<div class="view view--{{ size }}">')
->and($plugin->render_markup)->toBe('<div>Blade template</div>');
});
it('imports plugin from monorepo with zip_entry_path parameter', function (): void {