Skip to content

Commit 647a8f9

Browse files
authored
configure karma to use chromium
1 parent 838cbdc commit 647a8f9

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

test/karma.config.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// eslint-disable-next-line no-undef
2+
process.env.CHROME_BIN = require('chromium').path
3+
14
module.exports = function(config) {
25
config.set({
36
frameworks: ['mocha', 'chai'],
@@ -12,7 +15,7 @@ module.exports = function(config) {
1215
port: 9876,
1316
colors: true,
1417
logLevel: config.LOG_INFO,
15-
browsers: ['ChromeHeadless', 'FirefoxHeadless'],
18+
browsers: ['ChromeHeadless'],
1619
autoWatch: false,
1720
singleRun: true,
1821
concurrency: Infinity

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy