Skip to content

Commit 3b40e15

Browse files
Increased test timeouts and tolerances when running in slow CI environments
1 parent 3de8b4a commit 3b40e15

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

karma.conf.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,12 @@ module.exports = karmaConfig({
1717
edge: host.os.linux, // SauceLabs
1818
ie: host.os.windows,
1919
},
20+
21+
// Increse timouts and tolerances when running in slow CI environments
22+
config: host.ci && {
23+
captureTimeout: 60000,
24+
browserDisconnectTolerance: 5,
25+
browserDisconnectTimeout: 60000,
26+
browserNoActivityTimeout: 60000,
27+
}
2028
});

0 commit comments

Comments
 (0)