Skip to content
This repository was archived by the owner on Sep 3, 2022. It is now read-only.

Commit 708cfec

Browse files
committed
Increase Karma and Mocha timeout
1 parent 1a08d7a commit 708cfec

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

karma.conf.js

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,16 @@
11
/* eslint-env node */
22
'use strict';
33

4+
// 10 minutes
5+
var TEST_TIMEOUT = 10 * 60 * 1000;
6+
47
module.exports = function(config) {
58
config.set({
69
files: [
710
{ pattern: 'test/support/*.html', included: false },
811
'test/support/global.js', // NOTE: This must run before all tests
912
'test/**/*.test.js'
1013
],
11-
1214
browsers: ['PhantomJS'],
1315

1416
frameworks: ['browserify', 'mocha'],
@@ -19,9 +21,12 @@ module.exports = function(config) {
1921
'test/**/*.js': 'browserify'
2022
},
2123

24+
browserNoActivityTimeout: TEST_TIMEOUT,
25+
2226
client: {
2327
mocha: {
24-
grep: process.env.GREP
28+
grep: process.env.GREP,
29+
timeout: TEST_TIMEOUT
2530
}
2631
},
2732

0 commit comments

Comments
 (0)