From 59ed8d5baa60c0cb59dede144d27727c75b385ab Mon Sep 17 00:00:00 2001 From: Nick McCurdy Date: Mon, 21 Nov 2016 03:15:43 -0500 Subject: [PATCH] fix: allow karma-edge-launcher on local tests (#963) * Update karma-detect-browsers and depend on karma-edge-launcher * Remove IE from the list of browsers to test * style: use filter method instead. --- karma.conf.js | 4 +++- package.json | 4 ++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/karma.conf.js b/karma.conf.js index c19b4065cd..992eb4fcd5 100644 --- a/karma.conf.js +++ b/karma.conf.js @@ -22,7 +22,9 @@ module.exports = function(config) { enabled: true, usePhantomJS: false, postDetection(browsers){ - return browsers; + return browsers + // Remove IE + .filter(browser => browser !== 'IE'); } }, diff --git a/package.json b/package.json index 43f60488d3..25b2798bc7 100644 --- a/package.json +++ b/package.json @@ -27,9 +27,9 @@ "jshint": "^2.9.4", "karma": "^1.3.0", "karma-chrome-launcher": "^2.0.0", - "karma-detect-browsers": "^2.2.2", + "karma-detect-browsers": "^2.2.3", + "karma-edge-launcher": "^0.1.1", "karma-firefox-launcher": "^1.0.0", - "karma-ie-launcher": "^1.0.0", "karma-jasmine": "^1.0.2", "karma-mocha": "^1.3.0", "karma-mocha-reporter": "^2.2.0",