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

Function testSync

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

Source from the content-addressed store, hash-verified

27];
28
29function testSync(target, path) {
30 fs.symlinkSync(target, path);
31 fs.readdirSync(path);
32}
33
34function testAsync(target, path) {
35 fs.symlink(target, path, common.mustSucceed(() => {

Callers 1

Calls 4

assertFunction · 0.50
symlinkSyncMethod · 0.45
readdirSyncMethod · 0.45
existsSyncMethod · 0.45

Tested by

no test coverage detected