Skip to content

Commit a135c02

Browse files
authored
Update karma.conf.js
1 parent d7f6bf8 commit a135c02

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

test/karma.conf.js

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,15 @@ module.exports = function (config) {
159159

160160
// start these browsers
161161
// available browser launchers: https://npmjs.org/browse/keyword/karma-launcher
162-
browsers: ['ChromeHeadless'],
162+
// browsers: ['ChromeHeadless'],
163+
browsers: ['ChromeHeadlessNoSandbox'],
164+
customLaunchers: {
165+
ChromeHeadlessNoSandbox: {
166+
base: 'ChromeHeadless',
167+
flags: ['--no-sandbox']
168+
}
169+
},
170+
163171

164172
// Continuous Integration mode
165173
// if true, Karma captures browsers, runs the tests and exits

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