They're probably the reason why you're still able to sleep at night after someone decided you had to make some last minute changes. Anyway, tests have made me a better and a more confident developer.
Livewire Pest tests can look like a nice chain of actions and assertions on the Livewire component, which I fancy a lot.
Here is the component: orderCount = Order::count(); } public function render() { return view('livewire.order-dashboard-component'); } public function refreshOrderCount() { $this->orderCount = Order::count(); }} If we want to write a test for this behaviour, we would have to add a new order during the Pest Livewire test chain.