Skip to content

Commit

Permalink
Extend Jest timeout (#575)
Browse files Browse the repository at this point in the history
* Extend Jest timeout

* Add a link to the stackoverflow issue
  • Loading branch information
RajaBellebon authored and alexreardon committed Jun 26, 2018
1 parent cea1a62 commit a4af508
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/browser/simple-vertical-list-with-keyboard.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ const urlSingleList: string = 'http://localhost:9002/iframe.html?selectedKind=si

const timeout: number = 60000;

/* To avoid async callback from jest.setTimeout */
/* Background: https://stackoverflow.com/questions/49603939/jest-async-callback-was-not-invoked-within-the-5000ms-timeout-specified-by-jest */
jest.setTimeout(timeout);

type Selector = string;

const returnPositionAndText = async (page: Object, selector: Selector) =>
Expand Down

0 comments on commit a4af508

Please sign in to comment.