Skip to content

Commit ee08c21

Browse files
authored
configure karma to use chromium
1 parent d272d65 commit ee08c21

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

karma.config.js

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
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: [
5-
{pattern: 'dist/index.esm.js', type: 'module'},
6-
{pattern: 'test/test.js', type: 'module'}
7+
{ pattern: 'dist/index.esm.js', type: 'module' },
8+
{ pattern: 'test/test.js', type: 'module' }
79
],
810
reporters: ['mocha'],
911
port: 9876,

0 commit comments

Comments
 (0)