');
expect($rendered)->toContain('
Integration Test
');
@@ -42,11 +42,11 @@
it('leaves non-pure components unchanged through blade facade', function () {
$template = '
Test Button
';
$rendered = \Illuminate\Support\Facades\Blade::render($template);
-
+
// Non-pure component should render normally (not folded)
expect($rendered)->toContain('
');
expect($rendered)->not->toContain('
');
-
+
// Just verify it renders normally
});
@@ -58,7 +58,7 @@
it('preserves slot content when folding components', function () {
$template = 'Dynamic Title
Dynamic content with emphasis
';
$rendered = \Illuminate\Support\Facades\Blade::render($template);
-
+
// Should preserve all slot content in folded output
expect($rendered)->toContain('Dynamic Title
');
expect($rendered)->toContain('Dynamic content with emphasis
');
@@ -66,4 +66,4 @@
expect($rendered)->not->toContain('');
});
-});
\ No newline at end of file
+});
diff --git a/tests/InfiniteRecursionTest.php b/tests/InfiniteRecursionTest.php
index 58f2c22e..b9b35f52 100644
--- a/tests/InfiniteRecursionTest.php
+++ b/tests/InfiniteRecursionTest.php
@@ -1,7 +1,5 @@
Submit';
-
+
// This should complete without hanging or crashing
$rendered = \Illuminate\Support\Facades\Blade::render($template);
-
+
expect($rendered)->toContain('