Skip to content

Commit 1cf5cb3

Browse files
authored
Merge pull request #23 from github/theinterned/install-chromium
Use chromium for karma tests
2 parents 603e184 + d37fb92 commit 1cf5cb3

3 files changed

Lines changed: 442 additions & 4428 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)