MCPcopy Index your code
hub / github.com/nodejs/node / mapPatternFlagToRegExArray

Function mapPatternFlagToRegExArray

lib/internal/test_runner/utils.js:447–455  ·  view source on GitHub ↗
(flagName)

Source from the content-addressed store, hash-verified

445}
446
447function mapPatternFlagToRegExArray(flagName) {
448 const patterns = getOptionValue(flagName);
449
450 if (patterns?.length > 0) {
451 return ArrayPrototypeMap(patterns, (re) => convertStringToRegExp(re, flagName));
452 }
453
454 return null;
455}
456
457function countCompletedTest(test, harness = test.root.harness) {
458 if (test.nesting === 0) {

Callers 1

parseCommandLineFunction · 0.85

Calls 2

getOptionValueFunction · 0.85
convertStringToRegExpFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…