Skip to content

Commit c74dc4a

Browse files
author
Dave Syer
committed
Get tests working
1 parent 9d70ed6 commit c74dc4a

File tree

12 files changed

+641
-257
lines changed

12 files changed

+641
-257
lines changed

karma.conf.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
// Karma configuration file, see link for more information
22
// https://karma-runner.github.io/1.0/config/configuration-file.html
33

4+
process.env.CHROME_BIN = require('puppeteer').executablePath()
5+
46
module.exports = function (config) {
57
config.set({
68
basePath: '',
@@ -37,7 +39,7 @@ module.exports = function (config) {
3739
colors: true,
3840
logLevel: config.LOG_INFO,
3941
autoWatch: true,
40-
browsers: ['Chrome'],
42+
browsers: ['ChromeHeadless'],
4143
singleRun: false,
4244
restartOnFileChange: true
4345
});

0 commit comments

Comments
 (0)