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

Function runTest

test/parallel/test-fs-realpath.js:600–609  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

598}
599
600function runTest() {
601 const tmpDirs = ['cycles', 'cycles/folder'];
602 tmpDirs.forEach(function(t) {
603 t = tmp(t);
604 fs.mkdirSync(t, 0o700);
605 });
606 fs.writeFileSync(tmp('cycles/root.js'), "console.error('roooot!');");
607 console.error('start tests');
608 runNextTest();
609}
610
611
612process.on('exit', function() {

Callers

nothing calls this directly

Calls 6

tmpFunction · 0.70
runNextTestFunction · 0.70
forEachMethod · 0.65
mkdirSyncMethod · 0.45
writeFileSyncMethod · 0.45
errorMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…