MCPcopy Index your code
hub / github.com/nodejs/node / test-fs-cp-sync-file-url.mjs

File test-fs-cp-sync-file-url.mjs

test/parallel/test-fs-cp-sync-file-url.mjs:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1// This tests that cpSync accepts file URL as src and dest.
2import { mustNotMutateObjectDeep } from '../common/index.mjs';
3import { nextdir, assertDirEquivalent } from '../common/fs.js';
4import { cpSync } from 'node:fs';

Callers

nothing calls this directly

Calls 7

nextdirFunction · 0.90
assertDirEquivalentFunction · 0.90
cpSyncFunction · 0.85
mustNotMutateObjectDeepFunction · 0.85
pathToFileURLFunction · 0.50
refreshMethod · 0.45
pathMethod · 0.45

Tested by

no test coverage detected