Skip to content

Commit

Permalink
fix: allow karma-edge-launcher on local tests (#963)
Browse files Browse the repository at this point in the history
* Update karma-detect-browsers and depend on karma-edge-launcher

* Remove IE from the list of browsers to test

* style: use filter method instead.
  • Loading branch information
nickserv authored and Marcos Cáceres committed Nov 21, 2016
1 parent 4adf9f4 commit 59ed8d5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@ module.exports = function(config) {
enabled: true,
usePhantomJS: false,
postDetection(browsers){
return browsers;
return browsers
// Remove IE
.filter(browser => browser !== 'IE');
}
},

Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 59ed8d5

Please sign in to comment.