Closed morrislaptop closed 1 week ago
I tried with the basic Counter example...
<?php use App\Livewire\Counter; use Livewire\Livewire; describe('CounterTest', function () { it('does something', function () { Livewire::test(Counter::class) ->assertSetStrict('count', 1) ->call('increment') ->assertSetStrict('count', 2) ->call('decrement') ->assertSetStrict('count', 1) ->assertStatus(200); }); });
And got Failed asserting that null is identical to 1.
Failed asserting that null is identical to 1.
I tried with the basic Counter example...
And got
Failed asserting that null is identical to 1.