Default timeout to 30 seconds on CI and 10 seconds locally
This commit is contained in:
parent
4ccc3d9fb3
commit
10386edea5
6 changed files with 1 additions and 29 deletions
|
@ -55,6 +55,7 @@
|
|||
var mocha = new Mocha();
|
||||
|
||||
mocha.ui('bdd').reporter(isCi ? 'tap' : 'html');
|
||||
mocha.timeout(isCi ? 30000 : 10000)
|
||||
|
||||
var query = Mocha.utils.parseQuery(window.location.search || '');
|
||||
if (query.grep) mocha.grep(query.grep);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue