Skip to content

Commit 325a793

Browse files
authored
configure karma to use chromium
1 parent 7e1ba30 commit 325a793

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

karma.config.cjs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
module.exports = function(config) {
1+
process.env.CHROME_BIN = require('chromium').path
2+
3+
module.exports = function (config) {
24
config.set({
35
frameworks: ['mocha', 'chai'],
46
files: [
@@ -9,7 +11,7 @@ module.exports = function(config) {
911
port: 9876,
1012
colors: true,
1113
logLevel: config.LOG_INFO,
12-
browsers: ['ChromeHeadless', 'FirefoxHeadless'],
14+
browsers: ['ChromeHeadless'],
1315
autoWatch: false,
1416
singleRun: true,
1517
concurrency: Infinity

0 commit comments

Comments
 (0)