I\'m submitting a network request in a test case, but this sometimes takes longer than 2 seconds (the default timeout).
How do I increase the timeout for a single te
If you wish to use es6 arrow functions you can add a .timeout(ms) to the end of your it definition:
.timeout(ms)
it
it('should not timeout', (done) => { doLongThing().then(() => { done(); }); }).timeout(5000);
At least this works in Typescript.