File tree 3 files changed +4
-10
lines changed
3 files changed +4
-10
lines changed Original file line number Diff line number Diff line change 1
1
language : node_js
2
2
node_js :
3
3
- 6
4
- script : node_modules/karma/bin/karma start ./karma.conf.js --singleRun --browsers ['Chrome']
5
- before_install :
6
- - export CHROME_BIN=chromium-browser
7
- - export DISPLAY=:99.0
8
- - sh -e /etc/init.d/xvfb start
9
-
4
+ script : node_modules/karma/bin/karma start ./karma.conf.js --singleRun
Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ module.exports = function(config) {
47
47
colors : true ,
48
48
logLevel : config . LOG_INFO ,
49
49
autoWatch : true ,
50
- browsers : [ 'Chrome ' ] ,
50
+ browsers : [ 'PhantomJS ' ] ,
51
51
singleRun : false ,
52
52
concurrency : Infinity ,
53
53
// Configure code coverage reporter
@@ -63,8 +63,8 @@ module.exports = function(config) {
63
63
'karma-webpack' ,
64
64
'karma-jasmine' ,
65
65
'karma-chai' ,
66
- 'karma-chrome-launcher' ,
67
- // 'karma-phantomjs-launcher',
66
+ // 'karma-chrome-launcher',
67
+ 'karma-phantomjs-launcher' ,
68
68
'karma-sourcemap-loader' ,
69
69
'karma-coverage' ,
70
70
] ,
Original file line number Diff line number Diff line change 31
31
"karma-babel-preprocessor" : " ^7.0.0" ,
32
32
"karma-browserify" : " ^5.1.0" ,
33
33
"karma-chai" : " ^0.1.0" ,
34
- "karma-chrome-launcher" : " ^2.0.0" ,
35
34
"karma-commonjs" : " ^1.0.0" ,
36
35
"karma-coverage" : " ^1.1.1" ,
37
36
"karma-firefox-launcher" : " ^1.0.0" ,
You can’t perform that action at this time.
0 commit comments