chore: make ChromeHeadless the default test browser during development

This commit is contained in:
Nico Rehwaldt 2021-01-06 12:04:20 +01:00 committed by fake-join[bot]
parent c2de0b26e1
commit af30817edb
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
// configures browsers to run test against
// any of [ 'ChromeHeadless', 'Chrome', 'Firefox', 'IE', 'PhantomJS' ]
var browsers = (process.env.TEST_BROWSERS || 'PhantomJS').split(',');
var browsers = (process.env.TEST_BROWSERS || 'ChromeHeadless').split(',');
// use puppeteer provided Chrome for testing
process.env.CHROME_BIN = require('puppeteer').executablePath();

View File

@ -8,7 +8,7 @@ var coverage = process.env.COVERAGE;
// configures browsers to run test against
// any of [ 'ChromeHeadless', 'Chrome', 'Firefox', 'IE', 'PhantomJS' ]
var browsers = (process.env.TEST_BROWSERS || 'PhantomJS').split(',');
var browsers = (process.env.TEST_BROWSERS || 'ChromeHeadless').split(',');
// use puppeteer provided Chrome for testing
process.env.CHROME_BIN = require('puppeteer').executablePath();