mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
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. Closes gh-4943
This commit is contained in:
parent
9735edd5cb
commit
4fd6912bfd
@ -232,6 +232,10 @@ module.exports = function( grunt ) {
|
|||||||
],
|
],
|
||||||
reporters: [ "dots" ],
|
reporters: [ "dots" ],
|
||||||
autoWatch: false,
|
autoWatch: false,
|
||||||
|
|
||||||
|
// 2 minutes; has to be longer than QUnit.config.testTimeout
|
||||||
|
browserNoActivityTimeout: 120e3,
|
||||||
|
|
||||||
concurrency: 3,
|
concurrency: 3,
|
||||||
captureTimeout: 20 * 1000,
|
captureTimeout: 20 * 1000,
|
||||||
singleRun: true
|
singleRun: true
|
||||||
|
Loading…
Reference in New Issue
Block a user