We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aab6a57 commit 492a9b6Copy full SHA for 492a9b6
tests/UnblazeTest.php
@@ -1,6 +1,7 @@
1
<?php
2
3
use Illuminate\Support\Facades\View;
4
+use Illuminate\Support\Facades\Blade;
5
6
describe('unblaze directive', function () {
7
beforeEach(function () {
@@ -52,6 +53,11 @@
52
53
54
// The scope should be captured and made available
55
expect($compiled)->toContain('$scope');
56
+
57
+ $rendered = Blade::render($compiled);
58
59
+ // This fails. Rendered content has <div data-name="Hello World">{{ $message }}</div>
60
+ expect($rendered)->toContain('<div class="dynamic">Hello World</div>');
61
});
62
63
it('encodes scope into compiled view for runtime access', function () {
0 commit comments