Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit4fd6912

Browse files
authored
Tests: Make Karma browser timeout larger than the QUnit one
Since the default Karma browser no activity timeout was lower than the QUnittimeout, a single timing out test was interrupting the whole test run ofa browser.The QUnit timeout is set to 1 minute so I set the Karma one to 2 minutes.Closesgh-4943
1 parent9735edd commit4fd6912

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
@@ -232,6 +232,10 @@ module.exports = function( grunt ) {
232232
],
233233
reporters:["dots"],
234234
autoWatch:false,
235+
236+
// 2 minutes; has to be longer than QUnit.config.testTimeout
237+
browserNoActivityTimeout:120e3,
238+
235239
concurrency:3,
236240
captureTimeout:20*1000,
237241
singleRun:true

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp