mirror of
https://github.com/archtechx/laravel-tips.git
synced 2025-12-12 21:34:03 +00:00
11 lines
No EOL
702 B
Markdown
11 lines
No EOL
702 B
Markdown
---
|
|
title: 'You can start testing Livewire components with basic tests that makes sure components render accurately'
|
|
tweet_id: '1507455550027563009'
|
|
thread_slug: weekly-thread-2022-12
|
|
author_username: ryangjchandler
|
|
images:
|
|
- 'https://pbs.twimg.com/media/FOPGoowXEAE883f.jpg'
|
|
created_at: 2022-03-25T20:33:04+00:00
|
|
slug: 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. |