January 24, 2021 by @benborgers
You're probably writing a Laravel test for a Livewire component.
The docs don't seem to mention that you need to import a package at the top of your test file first, like this:
Now, you can use
Livewire::test in your tests!
A quick favor: was anything I wrote incorrect or misspelled, or do you still have questions? Please use this form to let me know or ask for help!