Skip to content

Commit ef548e4

Browse files
committed
chore(): use headless=new for karma config
1 parent dce04f7 commit ef548e4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

test/bundler/karma.config.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ const localLaunchers = {
1111
base: CHROME_HEADLESS,
1212
flags: [
1313
// run in headless mode (https://chromium.googlesource.com/chromium/src/+/lkgr/headless/README.md)
14-
'--headless',
14+
'--headless=new',
1515
// use --disable-gpu to avoid an error from a missing Mesa library (https://chromium.googlesource.com/chromium/src/+/lkgr/headless/README.md)
1616
'--disable-gpu',
1717
// without a remote debugging port, Chrome exits immediately.

test/karma/karma.config.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ const localLaunchers = {
4848
flags: [
4949
'--no-sandbox',
5050
// See https://chromium.googlesource.com/chromium/src/+/lkgr/headless/README.md
51-
'--headless',
51+
'--headless=new',
5252
'--disable-gpu',
5353
// Without a remote debugging port, Google Chrome exits immediately.
5454
'--remote-debugging-port=9333',

0 commit comments

Comments
 (0)