fix: satisfy clippy and stabilize app startup test

This commit is contained in:
lucaronin
2026-04-19 16:28:02 +02:00
parent 374b4f6686
commit f5cc5ffb4f
2 changed files with 4 additions and 7 deletions

View File

@@ -202,10 +202,7 @@ describe('App', () => {
it('renders the four-panel layout', async () => {
render(<App />)
// Wait for vault to load
await waitFor(() => {
expect(screen.getByText('All Notes')).toBeInTheDocument()
})
expect(await screen.findByText('All Notes', {}, { timeout: 5000 })).toBeInTheDocument()
})
it('loads and displays vault entries in sidebar', async () => {