ソースを参照

Increase Jasmine's async timeout

JC Brand 6 年 前
コミット
89804ecfd5
1 ファイル変更2 行追加1 行削除
  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();
     window.sessionStorage.clear();
     // Load the specs
     // Load the specs
     require(specs, function (jasmine) {
     require(specs, function (jasmine) {
-        var jasmineEnv = jasmine.getEnv();
+        jasmine.DEFAULT_TIMEOUT_INTERVAL = 7000;
+        const jasmineEnv = jasmine.getEnv();
         jasmineEnv.addReporter(new ConsoleReporter());
         jasmineEnv.addReporter(new ConsoleReporter());
         window.onload();
         window.onload();
     });
     });