This repository was archived by the owner on Apr 15, 2020. It is now read-only.
File tree 3 files changed +8
-4
lines changed
3 files changed +8
-4
lines changed Original file line number Diff line number Diff line change 1
1
language : node_js
2
+ addons :
3
+ chrome : stable
Original file line number Diff line number Diff line change 25
25
"grunt-contrib-uglify" : " ^4.0.0" ,
26
26
"grunt-release-it" : " ^1.0.1" ,
27
27
"karma" : " ^4.0.1" ,
28
+ "karma-chrome-launcher" : " ^2.2.0" ,
28
29
"karma-coverage" : " ^1.0.0" ,
29
30
"karma-coveralls" : " ^2.0.0" ,
30
31
"karma-mocha" : " ^1.0.1" ,
31
32
"karma-mocha-reporter" : " ^2.0.5" ,
32
- "karma-phantomjs-launcher" : " ^1.0.0" ,
33
33
"load-grunt-tasks" : " ^4.0.0" ,
34
34
"mocha" : " ^6.0.0" ,
35
- "phantomjs-prebuilt " : " ^2.1.8 " ,
35
+ "puppeteer " : " ^1.14.0 " ,
36
36
"sinon" : " ^7.2.4" ,
37
37
"unexpected" : " ^11.0.1" ,
38
38
"unexpected-sinon" : " ^10.11.1"
Original file line number Diff line number Diff line change @@ -10,14 +10,16 @@ if (process.env.TRAVIS) {
10
10
reporters . push ( 'coveralls' ) ;
11
11
}
12
12
13
+ process . env . CHROME_BIN = require ( 'puppeteer' ) . executablePath ( ) ;
14
+
13
15
module . exports = function ( config ) {
14
16
config . set ( {
15
- browsers : [ 'PhantomJS ' ] ,
17
+ browsers : [ 'ChromeHeadless ' ] ,
16
18
plugins : [
17
19
'karma-mocha' ,
18
20
'karma-coverage' ,
19
21
'karma-coveralls' ,
20
- 'karma-phantomjs -launcher' ,
22
+ 'karma-chrome -launcher' ,
21
23
'karma-mocha-reporter'
22
24
] ,
23
25
frameworks : [ 'mocha' ] ,
You can’t perform that action at this time.
0 commit comments