Skip to content

Commit 53c4784

Browse files
authored
configure karma to use chromium
1 parent 962adea commit 53c4784

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

test/karma.config.cjs

Lines changed: 3 additions & 1 deletion
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/task-lists-element.js', type: 'module'}, 'test.js'],
6+
files: [{ pattern: '../dist/task-lists-element.js', type: 'module' }, 'test.js'],
57
reporters: ['mocha'],
68
port: 9876,
79
colors: true,

0 commit comments

Comments
 (0)