MCPcopy Create free account
hub / github.com/nodejs/node / test-fs-cp-promises-mode-flags.mjs

File test-fs-cp-promises-mode-flags.mjs

test/parallel/test-fs-cp-promises-mode-flags.mjs:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1// This tests that fs.promises.cp() copies a nested folder structure with mode flags.
2// This test is based on fs.promises.copyFile() with `COPYFILE_FICLONE_FORCE`.
3
4import { mustNotMutateObjectDeep } from '../common/index.mjs';

Callers

nothing calls this directly

Calls 6

nextdirFunction · 0.90
assertDirEquivalentFunction · 0.90
mustNotMutateObjectDeepFunction · 0.85
assertFunction · 0.50
refreshMethod · 0.45
pathMethod · 0.45

Tested by

no test coverage detected