Skip to content

Commit

Permalink
add headless chrome to ci tests
Browse files Browse the repository at this point in the history
  • Loading branch information
zloirock committed Nov 13, 2018
1 parent 626f321 commit c62cbda
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ const fs = require('fs');
const mkdirp = require('mkdirp');
const path = require('path');
const config = require('./packages/core-js-builder/config');

process.env.CHROME_BIN = require('puppeteer').executablePath();

module.exports = grunt => {
grunt.loadNpmTasks('grunt-contrib-clean');
grunt.loadNpmTasks('grunt-contrib-copy');
Expand Down Expand Up @@ -117,7 +120,7 @@ module.exports = grunt => {
options: {
frameworks: ['qunit'],
basePath: '.',
browsers: ['PhantomJS'],
browsers: ['ChromeHeadless', 'PhantomJS'],
singleRun: true,
},
tests: {
Expand Down
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,15 @@
"grunt-karma": "^3.0.0",
"grunt-webpack": "^3.1.3",
"karma": "^3.1.1",
"karma-chrome-launcher": "^2.2.0",
"karma-phantomjs-launcher": "1.0.x",
"karma-qunit": "^2.1.0",
"lerna": "2.11.0",
"mkdirp": "^0.5.1",
"moon-unit": "^0.2.2",
"phantomjs-prebuilt": "2.1.x",
"promises-aplus-tests": "^2.1.2",
"puppeteer": "1.9.0",
"qunit": "2.8.x",
"temp": "^0.8.3",
"webpack": "^4.25.1"
Expand Down

0 comments on commit c62cbda

Please sign in to comment.