Skip to content

Commit 995a3d6

Browse files
authored
configure karma to use chromium
1 parent f8a6d2c commit 995a3d6

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

test/karma.config.cjs

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
1+
process.env.CHROME_BIN = require('chromium').path
2+
13
module.exports = function (config) {
24
config.set({
35
frameworks: ['mocha', 'chai'],
4-
files: [{pattern: '../dist/index.js', type: 'module'}, 'test.js'],
6+
files: [{ pattern: '../dist/index.js', type: 'module' }, 'test.js'],
57
reporters: ['mocha'],
68
port: 9876,
79
colors: true,

0 commit comments

Comments
 (0)