• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

visgl / luma.gl / 23384903092

21 Mar 2026 05:30PM UTC coverage: 72.417% (+9.3%) from 63.136%
23384903092

push

github

web-flow
feat(devtool); Enable LLMs to automatically test website, package for devtools upstream (#2557)

4103 of 6350 branches covered (64.61%)

Branch coverage included in aggregate %.

215 of 271 new or added lines in 13 files covered. (79.34%)

45 existing lines in 6 files now uncovered.

9124 of 11915 relevant lines covered (76.58%)

277.34 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

69.7
/dev-modules/devtools-extensions/get-playwright-launch-options.mjs
1
const DEFAULT_PLAYWRIGHT_CHANNEL = 'chromium';
1✔
2
const DEFAULT_PLAYWRIGHT_ARGS = ['--enable-unsafe-webgpu', '--ignore-gpu-blocklist'];
1✔
3
const SOFTWARE_GPU_ARGS = ['--use-angle=swiftshader', '--enable-unsafe-swiftshader'];
1✔
4

5
export function getPlaywrightLaunchOptions(options = {}) {
1✔
6
  const ocularConfig = options.ocularConfig || {};
1!
7
  const playwrightConfig = ocularConfig.devtools?.playwright || {};
1!
8
  const customLaunchOptions = options.launchOptions || {};
1✔
9
  const args = dedupeValues([
1✔
10
    ...DEFAULT_PLAYWRIGHT_ARGS,
11
    ...(playwrightConfig.args || []),
1!
12
    ...(customLaunchOptions.args || []),
2✔
13
    ...(options.softwareGpu || playwrightConfig.softwareGpu ? SOFTWARE_GPU_ARGS : [])
2!
14
  ]);
15

16
  const launchOptions = {
1✔
17
    ...playwrightConfig.launchOptions,
18
    ...customLaunchOptions,
19
    channel: options.channel || playwrightConfig.channel || customLaunchOptions.channel || DEFAULT_PLAYWRIGHT_CHANNEL,
1!
20
    args
21
  };
22

23
  if (options.headless !== undefined) {
1!
NEW
24
    launchOptions.headless = options.headless;
×
25
  }
26

27
  return launchOptions;
1✔
28
}
29

30
function dedupeValues(values) {
31
  return [...new Set(values.filter(Boolean))];
1✔
32
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc