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

Function tryBuiltinReporter

lib/internal/test_runner/utils.js:168–176  ·  view source on GitHub ↗
(name)

Source from the content-addressed store, hash-verified

166}
167
168function tryBuiltinReporter(name) {
169 const builtinPath = kBuiltinReporters.get(name);
170
171 if (builtinPath === undefined) {
172 return;
173 }
174
175 return require(builtinPath);
176}
177
178function shouldColorizeTestFiles(destinations) {
179 // This function assumes only built-in destinations (stdout/stderr) supports coloring

Callers 1

getReportersMapFunction · 0.85

Calls 2

getMethod · 0.65
requireFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…