Skip to content

Commit a9e9a95

Browse files
committed
Tests: Make Karma browser timeout larger than the QUnit one
Since the default Karma browser no activity timeout was lower than the QUnit timeout, a single timing out test was interrupting the whole test run of a browser. The QUnit timeout is set to 1 minute so I set the Karma one to 2 minutes.
1 parent e124893 commit a9e9a95

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Gruntfile.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -220,6 +220,10 @@ module.exports = function( grunt ) {
220220
],
221221
reporters: [ "dots" ],
222222
autoWatch: false,
223+
224+
// 2 minutes; has to be longer than QUnit.config.testTimeout
225+
browserNoActivityTimeout: 120e3,
226+
223227
concurrency: 3,
224228
captureTimeout: 20 * 1000,
225229
singleRun: true

0 commit comments

Comments
 (0)