File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 1
1
/*global jasmine, __karma__, window*/
2
2
Error . stackTraceLimit = Infinity ;
3
- jasmine . DEFAULT_TIMEOUT_INTERVAL = 3000 ;
3
+
4
+ // The default time that jasmine waits for an asynchronous test to finish is five seconds.
5
+ // If this timeout is too short the CI may fail randomly because our asynchronous tests can
6
+ // take longer in some situations (e.g Saucelabs and Browserstack tunnels)
7
+ jasmine . DEFAULT_TIMEOUT_INTERVAL = 10000 ;
4
8
5
9
__karma__ . loaded = function ( ) { } ;
6
10
@@ -85,8 +89,6 @@ function configureTestBed() {
85
89
var testing = providers [ 0 ] ;
86
90
var testingBrowser = providers [ 1 ] ;
87
91
88
- jasmine . DEFAULT_TIMEOUT_INTERVAL = 10000 ;
89
-
90
92
var testBed = testing . TestBed . initTestEnvironment (
91
93
testingBrowser . BrowserDynamicTestingModule ,
92
94
testingBrowser . platformBrowserDynamicTesting ( )
You can’t perform that action at this time.
0 commit comments