Skip to content
This repository was archived by the owner on Apr 9, 2019. It is now read-only.

Commit 4ee2a43

Browse files
committed
Added PhantomJS
1 parent 9b49138 commit 4ee2a43

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

karma.conf.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ module.exports = function(config) {
4848

4949
// start these browsers
5050
// available browser launchers: https://npmjs.org/browse/keyword/karma-launcher
51-
browsers: ['Chrome'],
51+
browsers: ['PhantomJS'],
5252

5353
// Continuous Integration mode
5454
// if true, Karma captures browsers, runs the tests and exits
@@ -59,7 +59,8 @@ module.exports = function(config) {
5959
'karma-chai',
6060
'karma-webpack',
6161
'karma-spec-reporter',
62-
'karma-chrome-launcher'
62+
'karma-chrome-launcher',
63+
'karma-phantomjs-launcher'
6364
],
6465

6566
webpack: {

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535
"karma-chai": "^0.1.0",
3636
"karma-chrome-launcher": "^0.1.7",
3737
"karma-mocha": "^0.1.10",
38+
"karma-phantomjs-launcher": "^0.1.4",
3839
"karma-spec-reporter": "0.0.18",
3940
"karma-webpack": "^1.5.0",
4041
"minimist": "^1.1.1",

0 commit comments

Comments
 (0)