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

Function setupFixtures

test/parallel/test-runner-watch-mode-complex.mjs:48–51  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

46 .map((file) => [file, tmpdir.resolve(file)]));
47
48async function setupFixtures() {
49 return Promise.all(Object.entries(fixtureContent)
50 .map(([file, content]) => writeFile(fixturePaths[file], content, { flush: true })));
51}
52
53await setupFixtures();
54

Calls 4

writeFileFunction · 0.90
allMethod · 0.80
mapMethod · 0.65
entriesMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…