Skip to content

Commit 1cc4d47

Browse files
committed
wip
1 parent be645ec commit 1cc4d47

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

src/BlazeManager.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,11 @@
22

33
namespace Livewire\Blaze;
44

5-
use Illuminate\Process\Pipe;
65
use Livewire\Blaze\Events\ComponentFolded;
76
use Livewire\Blaze\Nodes\ComponentNode;
87
use Livewire\Blaze\Imprinter\Imprinter;
98
use Livewire\Blaze\Tokenizer\Tokenizer;
109
use Illuminate\Support\Facades\Event;
11-
use Illuminate\Support\Facades\Pipeline;
1210
use Livewire\Blaze\Memoizer\Memoizer;
1311
use Livewire\Blaze\Walker\Walker;
1412
use Livewire\Blaze\Parser\Parser;

tests/ImprintTest.php

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,6 @@
77
\Illuminate\Support\Facades\Artisan::call('view:clear');
88
});
99

10-
function compile(string $input): string {
11-
return app('blaze')->compile($input);
12-
}
13-
1410
it('can imprint components with nested components that use the error bag', function () {
1511
$input = '<x-field wire:model="search">Search</x-field>';
1612
$output = <<<'HTML'
@@ -21,6 +17,6 @@ function compile(string $input): string {
2117
</div>
2218
HTML;
2319

24-
expect(compile($input))->toContain('<x-error :name="\'search\'" />');
20+
expect(app('blaze')->compile($input))->toContain('<x-error :name="\'search\'" />');
2521
});
2622
});

0 commit comments

Comments
 (0)