Skip to content

Commit d37fb92

Browse files
authored
configure karma to use chromium
1 parent cf1d99b commit d37fb92

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

karma.config.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
1+
process.env.CHROME_BIN = require('chromium').path
2+
13
module.exports = function (config) {
24
config.set({
35
frameworks: ['mocha', 'chai'],
46
files: [
5-
{pattern: 'dist/index.js', type: 'module'},
6-
{pattern: 'test/test.js', type: 'module'}
7+
{ pattern: 'dist/index.js', type: 'module' },
8+
{ pattern: 'test/test.js', type: 'module' }
79
],
810
reporters: ['mocha'],
911
port: 9876,

0 commit comments

Comments
 (0)