Testing Livewire In A Package!? #200
-
Hello there, However the test fails within the package but is successful on a full Laravel application, that implements that package. It's a simple test
The error message that I get is: My livewire component is not using any loops - it's a simple login form with email and password field. I tried to remove all html from the view except the wrapping div but no luck. Is it in general possible to test Livewire components within a package? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Yes, you can test Livewire components in a package. Take a look in the tests of our spatie/laravel-livewire-wizard package. If you are having troubles with this, open an issue at Livewire, and not at this skeleton. |
Beta Was this translation helpful? Give feedback.
Yes, you can test Livewire components in a package. Take a look in the tests of our spatie/laravel-livewire-wizard package.
If you are having troubles with this, open an issue at Livewire, and not at this skeleton.