Skip to content

Commit f6912c9

Browse files
authored
Merge pull request #42 from github/theinterned/install-chromium
Use chromium for karma tests
2 parents 4e45abd + ee08c21 commit f6912c9

File tree

3 files changed

+444
-4767
lines changed

3 files changed

+444
-4767
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)