Skip to content

Commit 9d7700c

Browse files
authored
Merge pull request #25 from github/theinterned/install-chromium
Use chromium for karma tests
2 parents 78aed2d + 325a793 commit 9d7700c

File tree

3 files changed

+441
-4492
lines changed

3 files changed

+441
-4492
lines changed

karma.config.cjs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
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: [
@@ -9,7 +11,7 @@ module.exports = function(config) {
911
port: 9876,
1012
colors: true,
1113
logLevel: config.LOG_INFO,
12-
browsers: ['ChromeHeadless', 'FirefoxHeadless'],
14+
browsers: ['ChromeHeadless'],
1315
autoWatch: false,
1416
singleRun: true,
1517
concurrency: Infinity

0 commit comments

Comments
 (0)