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

Function runNextTest

test/parallel/test-fs-realpath.js:585–598  ·  view source on GitHub ↗
(err)

Source from the content-addressed store, hash-verified

583const numtests = tests.length;
584let testsRun = 0;
585function runNextTest(err) {
586 assert.ifError(err);
587 const test = tests.shift();
588 if (!test) {
589 return console.log(`${numtests} subtests completed OK for fs.realpath`);
590 }
591 testsRun++;
592 test(fs.realpath, fs.realpathSync, common.mustSucceed(() => {
593 testsRun++;
594 test(fs.realpath.native,
595 fs.realpathSync.native,
596 common.mustCall(runNextTest));
597 }));
598}
599
600function runTest() {
601 const tmpDirs = ['cycles', 'cycles/folder'];

Callers 1

runTestFunction · 0.70

Calls 3

testFunction · 0.70
shiftMethod · 0.45
logMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…