From 6defd86efdd656fade393546b4e6839aa53f0f8c Mon Sep 17 00:00:00 2001 From: Ben Gourley Date: Wed, 30 Aug 2017 15:25:27 +0100 Subject: [PATCH] Pin karma dependency to version that works with old IE As outlined in the linked issue, it looks like our loose version range allowed a newer Karma to be install that breaks in old IEs. Karma issue tracker link: https://github.com/karma-runner/karma/issues/2556 For now, pinning to 1.3.0 resolves a transitive dependency tree which "works". --- karma-common.js | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/karma-common.js b/karma-common.js index 03365b2ad7..1e2bb2481c 100644 --- a/karma-common.js +++ b/karma-common.js @@ -1,7 +1,7 @@ var browsers = require('./browsers.json'); var MINUTE_IN_MS = 1000 * 60 -var MAX_TIMEOUT = MINUTE_IN_MS * 5 +var MAX_TIMEOUT = 2 * MINUTE_IN_MS module.exports = { basePath: "", diff --git a/package.json b/package.json index 496736b035..e1f478639c 100644 --- a/package.json +++ b/package.json @@ -36,7 +36,7 @@ "grunt-regex-replace": "~0.2.5", "grunt-s3": "git://github.com/pifantastic/grunt-s3", "gruntify-eslint": "^1.3.0", - "karma": "^1.3.0", + "karma": "1.3.0", "karma-coverage": "^1.1.1", "karma-coveralls": "^1.1.2", "karma-mocha-ie-legacy": "file:./test/karma-mocha",