Browse Source

Increase Jasmine's async timeout

JC Brand 6 years ago
parent
commit
89804ecfd5
1 changed files with 2 additions and 1 deletions
  1. 2 1
      tests/runner.js

+ 2 - 1
tests/runner.js

@@ -133,7 +133,8 @@ require(['console-reporter', 'mock', 'sinon', 'wait-until-promise', 'pluggable']
     window.sessionStorage.clear();
     // Load the specs
     require(specs, function (jasmine) {
-        var jasmineEnv = jasmine.getEnv();
+        jasmine.DEFAULT_TIMEOUT_INTERVAL = 7000;
+        const jasmineEnv = jasmine.getEnv();
         jasmineEnv.addReporter(new ConsoleReporter());
         window.onload();
     });