search update
Some checks failed
CI / check (push) Has been cancelled

This commit is contained in:
2026-06-17 14:07:19 +02:00
parent 42defcc7cd
commit e55f4e714e
4 changed files with 75 additions and 16 deletions

View File

@@ -101,7 +101,7 @@ describe('App (mock data, jsdom)', () => {
if (!m) throw new Error('modal not open')
return m as HTMLElement
})
const input = within(modal).getByPlaceholderText(/Search content/i)
const input = within(modal).getByPlaceholderText(/Search this file/i)
fireEvent.change(input, { target: { value: 'balance' } })
await waitFor(() => expect(modal.querySelectorAll('.sr-file').length).toBeGreaterThan(0))
})