Skip to content

Commit

Permalink
fix(core): update timeout for failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
pedrobonamin committed Nov 22, 2024
1 parent 69f7cab commit 25acf96
Showing 1 changed file with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -99,9 +99,12 @@ describe('ReleasesOverview', () => {
})

it('does not allow for switching between history modes', async () => {
await waitFor(() => {
screen.getByText('Open')
})
await waitFor(
() => {
screen.getByText('Open')
},
{timeout: 5000},
)
expect(screen.getByText('Open').closest('button')).toBeDisabled()
expect(screen.getByText('Archived').closest('button')).toBeDisabled()
})
Expand Down

0 comments on commit 25acf96

Please sign in to comment.