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:
David Humphrey (:humph) david.humphrey@senecacollege.ca 2014-03-05 22:02:05 -05:00
parent d725157837
commit 31ef56ff8e
1 changed files with 3 additions and 2 deletions

View File

@ -78,8 +78,9 @@ require.config(config);
assert = chai.assert;
expect = chai.expect;
// We need to setup describe() support before loading tests
mocha.setup("bdd");
// We need to setup describe() support before loading tests.
// 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() {
window.onload = function() {