Increase the test timeout threshold from 2s to 5s (for longer db operations), with a slow test warning of 250ms
This commit is contained in:
parent
d725157837
commit
31ef56ff8e
|
@ -78,8 +78,9 @@ require.config(config);
|
||||||
assert = chai.assert;
|
assert = chai.assert;
|
||||||
expect = chai.expect;
|
expect = chai.expect;
|
||||||
|
|
||||||
// We need to setup describe() support before loading tests
|
// We need to setup describe() support before loading tests.
|
||||||
mocha.setup("bdd");
|
// Use a test timeout of 5s and a slow-test warning of 250ms
|
||||||
|
mocha.setup("bdd").timeout(5000).slow(250);
|
||||||
|
|
||||||
require(["tests/test-manifest"], function() {
|
require(["tests/test-manifest"], function() {
|
||||||
window.onload = function() {
|
window.onload = function() {
|
||||||
|
|
Loading…
Reference in New Issue