What seems to be the problem:
Test passed even though the component was missing parameter passed into
mount(). You must pass the parameter in the test for it not to break the test…
Steps to Reproduce:
If you have the following in a blade template…
@livewire('my-component', ['my_parameter' => $my_parameter])
Tests will pass, but the code will break.
Are you using the latest version of Livewire:
Any suggestion to test for this. I stumped myself for an hour, doh!