Skip to content

Commit 8d8d6b4

Browse files
authored
test(biobridge): stabilize reconnect assertion timing (#488)
1 parent 955cc72 commit 8d8d6b4

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

miniapps/biobridge/src/App.test.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -251,8 +251,6 @@ describe('Forge App', () => {
251251

252252
fireEvent.click(screen.getByTestId('reconnect-button'))
253253

254-
await waitFor(() => {
255-
expect(screen.getByTestId('connect-button')).toBeInTheDocument()
256-
})
254+
await screen.findByTestId('connect-button', undefined, { timeout: 5000 })
257255
})
258256
})

0 commit comments

Comments
 (0)