Skip to content

Commit b6af4f5

Browse files
committed
feat(test): change test platform to chrome
1 parent 55afe8a commit b6af4f5

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

template/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,7 @@
4444
"karma-browserify": "^5.1.1",
4545
"karma-chai": "^0.1.0",
4646
"karma-mocha": "^1.3.0",
47-
"karma-phantomjs-launcher": "^1.0.4",
48-
"karma-phantomjs-shim": "^1.5.0",
47+
"karma-chrome-launcher": "^2.2.0",
4948
"mocha": "^3.4.2",
5049
"sinon": "^2.3.8",
5150
"vinyl-buffer": "^1.0.0",

template/test/karma.conf.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ import vueify from 'vueify';
33

44
export default (config) => {
55
config.set({
6-
browsers: ['PhantomJS'],
7-
frameworks: ['browserify', 'mocha', 'chai', 'phantomjs-shim'],
6+
browsers: ['Chrome'],
7+
frameworks: ['browserify', 'mocha', 'chai'],
88
preprocessors: {
99
'**/*.js': ['browserify'],
1010
},

0 commit comments

Comments
 (0)