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

Function test

test/sequential/test-fs-opendir-recursive.js:214–221  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

212
213{
214 async function test() {
215 const dir = await fsPromises.opendir(testDir, { recursive: true });
216 const dirents = [];
217 for await (const dirent of dir) {
218 dirents.push(dirent);
219 }
220 assertDirents(dirents);
221 }
222
223 test().then(common.mustCall());
224}

Callers 1

Calls 3

opendirMethod · 0.80
assertDirentsFunction · 0.70
pushMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…