1
0
Fork 0
mirror of https://github.com/archtechx/laravel-tips.git synced 2025-12-12 13:24:03 +00:00
laravel-tips/content/tips/you-can-start-testing-livewire-components-with-basic-tests-that-makes-sure-components-render-accurately.md
2022-03-26 20:24:23 +01:00

702 B

title tweet_id thread_slug author_username images created_at slug
You can start testing Livewire components with basic tests that makes sure components render accurately 1507455550027563009 weekly-thread-2022-12 ryangjchandler
https://pbs.twimg.com/media/FOPGoowXEAE883f.jpg
2022-03-25T20:33:04+00:00 you-can-start-testing-livewire-components-with-basic-tests-that-makes-sure-components-render-accurately

🔥 When you're testing your @LaravelLivewire components, one of the simplest tests you can add is a "can this component be mounted" test. This is one of the best ways to test your the mounting process in isolation and ensuring the component renders the view correctly.