MCPcopy Create free account
hub / github.com/nodejs/node / test-fs-cp-async-overwrites-force-true.mjs

File test-fs-cp-async-overwrites-force-true.mjs

test/parallel/test-fs-cp-async-overwrites-force-true.mjs:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1// This tests that it overwrites existing files if force is true.
2
3import { mustCall, mustNotMutateObjectDeep } from '../common/index.mjs';
4import assert from 'node:assert';

Callers

nothing calls this directly

Calls 11

nextdirFunction · 0.90
assertDirEquivalentFunction · 0.90
mustNotMutateObjectDeepFunction · 0.85
writeFileSyncFunction · 0.85
mkdirSyncFunction · 0.70
mustCallFunction · 0.70
joinFunction · 0.50
cpFunction · 0.50
readFileSyncFunction · 0.50
refreshMethod · 0.45
pathMethod · 0.45

Tested by

no test coverage detected