build: duplicate update of jasmine timeout interval (#5085)

This commit is contained in:
Paul Gschwendtner
2017-06-12 19:52:33 +02:00
committed by Kara
parent b1a9cb549f
commit 3eb7bdd792
+5 -3
View File
@@ -1,6 +1,10 @@
/*global jasmine, __karma__, window*/
Error.stackTraceLimit = Infinity;
jasmine.DEFAULT_TIMEOUT_INTERVAL = 3000;
// The default time that jasmine waits for an asynchronous test to finish is five seconds.
// If this timeout is too short the CI may fail randomly because our asynchronous tests can
// take longer in some situations (e.g Saucelabs and Browserstack tunnels)
jasmine.DEFAULT_TIMEOUT_INTERVAL = 10000;
__karma__.loaded = function () {};
@@ -85,8 +89,6 @@ function configureTestBed() {
var testing = providers[0];
var testingBrowser = providers[1];
jasmine.DEFAULT_TIMEOUT_INTERVAL = 10000;
var testBed = testing.TestBed.initTestEnvironment(
testingBrowser.BrowserDynamicTestingModule,
testingBrowser.platformBrowserDynamicTesting()