MCPcopy Index your code
hub / github.com/nodejs/node / test-fs-cp-sync-resolve-relative-symlinks-default.mjs

File test-fs-cp-sync-resolve-relative-symlinks-default.mjs

test/parallel/test-fs-cp-sync-resolve-relative-symlinks-default.mjs:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1// This tests that cpSync resolves relative symlinks to their absolute path by default.
2import { mustNotMutateObjectDeep, isWindows } from '../common/index.mjs';
3import { nextdir } from '../common/fs.js';
4import assert from 'node:assert';

Callers

nothing calls this directly

Calls 9

nextdirFunction · 0.90
mustNotMutateObjectDeepFunction · 0.85
writeFileSyncFunction · 0.85
symlinkSyncFunction · 0.85
cpSyncFunction · 0.85
mkdirSyncFunction · 0.70
joinFunction · 0.50
readlinkSyncFunction · 0.50
refreshMethod · 0.45

Tested by

no test coverage detected