Skip to content

Commit

Permalink
Upgrade karma to run headless Chrome
Browse files Browse the repository at this point in the history
PhantomJS is archived.
  • Loading branch information
janlazo committed May 30, 2019
1 parent a183e1e commit 45c1398
Show file tree
Hide file tree
Showing 3 changed files with 2,255 additions and 1,595 deletions.
3 changes: 2 additions & 1 deletion gulpFile.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,10 @@ src.unshift('src/top.txt');


gulp.task('karma-CI', function (done) {
process.env.CHROMIUM_BIN = require('puppeteer').executablePath();
var conf = require('./test/karma.common.js');
conf.singleRun = true;
conf.browsers = ['PhantomJS'];
conf.browsers = ['ChromiumHeadless']
conf.basePath = './';
karma.start(conf, done);
});
Expand Down
Loading

0 comments on commit 45c1398

Please sign in to comment.