Skip to content

Commit

Permalink
Increase test timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
cmdcolin committed Oct 27, 2021
1 parent 606165d commit a6b45ef
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions products/jbrowse-web/src/tests/Loader.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -156,10 +156,13 @@ describe('<Loader />', () => {
)

await findByText('Help')
await waitFor(() => {
expect(sessionStorage.length).toBeGreaterThan(0)
})
})
await waitFor(
() => {
expect(sessionStorage.length).toBeGreaterThan(0)
},
{ timeout: 10000 },
)
}, 10000)

// minimal session with plugin in our plugins.json
// {"session":{"id":"xSHu7qGJN","name":"test","sessionPlugins":[{"url":"https://unpkg.com/jbrowse-plugin-msaview/dist/jbrowse-plugin-msaview.umd.production.min.js"}]}}
Expand Down

0 comments on commit a6b45ef

Please sign in to comment.