From 283a05b352ae5d98d8c4e311f0eececa7fe981d7 Mon Sep 17 00:00:00 2001 From: Thomas Grainger Date: Tue, 26 Sep 2017 18:16:56 +0100 Subject: [PATCH] add phantomjs Fixes #1144 --- karma.conf.js | 2 ++ package.json | 1 + 2 files changed, 3 insertions(+) diff --git a/karma.conf.js b/karma.conf.js index d81a10ce1..eba2b47df 100644 --- a/karma.conf.js +++ b/karma.conf.js @@ -49,6 +49,7 @@ module.exports = function karma(config) { plugins: [ 'karma-chrome-launcher', 'karma-firefox-launcher', + 'karma-phantomjs-launcher', 'karma-mocha', 'karma-webpack', 'karma-sourcemap-loader', @@ -74,6 +75,7 @@ module.exports = function karma(config) { ], browsers: [ + 'PhantomJS', process.env.TRAVIS ? 'Chrome_travis' : 'Chrome', 'Firefox', ], diff --git a/package.json b/package.json index 5ec221b24..83f6f2b28 100644 --- a/package.json +++ b/package.json @@ -95,6 +95,7 @@ "karma-chrome-launcher": "^1.0.1", "karma-firefox-launcher": "^1.0.1", "karma-mocha": "^1.3.0", + "karma-phantomjs-launcher": "^1.0.4", "karma-sourcemap-loader": "^0.3.7", "karma-webpack": "^1.8.1", "lerna": "^2.0.0",