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

Function shouldColorizeTestFiles

lib/internal/test_runner/utils.js:178–184  ·  view source on GitHub ↗
(destinations)

Source from the content-addressed store, hash-verified

176}
177
178function shouldColorizeTestFiles(destinations) {
179 // This function assumes only built-in destinations (stdout/stderr) supports coloring
180 return ArrayPrototypeSome(destinations, (_, index) => {
181 const destination = kBuiltinDestinations.get(destinations[index]);
182 return destination && shouldColorize(destination);
183 });
184}
185
186function parsePreviousRuns(rerunFailuresFilePath) {
187 let data;

Callers 1

createTestTreeFunction · 0.85

Calls 2

shouldColorizeFunction · 0.85
getMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…