fix: remove dead search property, simplify empty state message
This commit is contained in:
@@ -40,7 +40,6 @@ it('shows station cards after stations-found event', function () {
|
||||
|
||||
it('shows empty state message when stations-found has no results', function () {
|
||||
Livewire::test(StationList::class)
|
||||
->set('search', 'ZZ99 9ZZ')
|
||||
->dispatch('stations-found', results: [], meta: ['count' => 0], prediction: null, radius: 5)
|
||||
->assertSet('hasSearched', true)
|
||||
->assertSee('No stations found');
|
||||
|
||||
Reference in New Issue
Block a user