Merge pull request #138 from humphd/test-timeouts

Increase the test timeout threshold from 2s to 5s
This commit is contained in:
Alan K 2014-03-05 22:24:27 -05:00
commit 567145052c
1 changed files with 3 additions and 2 deletions

View File

@ -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() {