Skip to content

Commit 1d95ef1

Browse files
authored
Merge pull request #44 from yajra/43-component-not-found-phpunit
fix: Fix missing component when using livewire test
2 parents 782f82a + 2430c5e commit 1d95ef1

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/ExportServiceProvider.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,7 @@ public function boot(): void
1616

1717
$this->publishAssets();
1818

19-
if (! $this->app->runningInConsole()) {
20-
Livewire::component('export-button', ExportButtonComponent::class);
21-
}
19+
Livewire::component('export-button', ExportButtonComponent::class);
2220
}
2321

2422
protected function publishAssets(): void

0 commit comments

Comments
 (0)