Skip to content

Commit 647a8f9

Browse files
authored
configure karma to use chromium
1 parent 838cbdc commit 647a8f9

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

test/karma.config.js

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// eslint-disable-next-line no-undef
2+
process.env.CHROME_BIN = require('chromium').path
3+
14
module.exports = function(config) {
25
config.set({
36
frameworks: ['mocha', 'chai'],
@@ -12,7 +15,7 @@ module.exports = function(config) {
1215
port: 9876,
1316
colors: true,
1417
logLevel: config.LOG_INFO,
15-
browsers: ['ChromeHeadless', 'FirefoxHeadless'],
18+
browsers: ['ChromeHeadless'],
1619
autoWatch: false,
1720
singleRun: true,
1821
concurrency: Infinity

0 commit comments

Comments
 (0)