Skip to content

armgit / mocha

Public Imported from GitHub
0

☕️ Classic, reliable, trusted test framework for Node.js and the browser

limit browser concurrency on sauce; closes #2478

Christopher Hiller808cd53d2fdd
diff --git a/karma.conf.js b/karma.conf.js
index 84195cbf..429cd2df 100644
--- a/karma.conf.js
+++ b/karma.conf.js
@@ -174,6 +174,8 @@ function addSauceTests (cfg) {
startConnect: true
};
+ cfg.concurrency = 5;
+
// for slow browser booting, ostensibly
cfg.captureTimeout = 120000;
cfg.browserNoActivityTimeout = 20000;
diff --git a/package.json b/package.json
index 764c1593..4099ffe5 100644
--- a/package.json
+++ b/package.json
@@ -324,7 +324,7 @@
"eslint-plugin-promise": "^3.4.0",
"eslint-plugin-standard": "2.0.1",
"expect.js": "^0.3.1",
- "karma": "^1.1.0",
+ "karma": "1.3.0",
"karma-browserify": "^5.0.5",
"karma-chrome-launcher": "^2.0.0",
"karma-expect": "^1.1.2",