MCPcopy Create free account
hub / github.com/BuilderIO/framework-benchmarks / noBrowser

Function noBrowser

frameworks/lit/web-test-runner.config.js:79–81  ·  view source on GitHub ↗
(b)

Source from the content-addressed store, hash-verified

77// Prepend BROWSERS=x,y to `npm run test` to run a subset of browsers
78// e.g. `BROWSERS=chromium,firefox npm run test`
79const noBrowser = (b) => {
80 throw new Error(`No browser configured named '${b}'; using defaults`);
81};
82let commandLineBrowsers;
83try {
84 commandLineBrowsers = process.env.BROWSERS?.split(',').map(

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected