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

Function testPromises

test/parallel/test-fs-symlink-dir.js:40–43  ·  view source on GitHub ↗
(target, path)

Source from the content-addressed store, hash-verified

38}
39
40async function testPromises(target, path) {
41 await fsPromises.symlink(target, path);
42 fs.readdirSync(path);
43}
44
45for (const linkTarget of linkTargets) {
46 fs.mkdirSync(tmpdir.resolve(linkTarget));

Callers 1

Calls 4

assertFunction · 0.50
symlinkMethod · 0.45
readdirSyncMethod · 0.45
existsSyncMethod · 0.45

Tested by

no test coverage detected