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

Function testAsync

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

Source from the content-addressed store, hash-verified

32}
33
34function testAsync(target, path) {
35 fs.symlink(target, path, common.mustSucceed(() => {
36 fs.readdirSync(path);
37 }));
38}
39
40async function testPromises(target, path) {
41 await fsPromises.symlink(target, path);

Calls 4

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

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…