test: make sure tests fail properly instead of timing out (#24316)
This commit is contained in:
parent
451086d7f2
commit
c6db47182a
20 changed files with 1484 additions and 1367 deletions
|
@ -1,2 +1,4 @@
|
|||
exports.ifit = (condition) => (condition ? it : it.skip);
|
||||
exports.ifdescribe = (condition) => (condition ? describe : describe.skip);
|
||||
|
||||
exports.delay = (time = 0) => new Promise(resolve => setTimeout(resolve, time));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue