mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
build: duplicate update of jasmine timeout interval (#5085)
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user