Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
3
import
{ mustCall, mustNotMutateObjectDeep } from
'../common/index.mjs'
;
4
import
assert from
'node:assert'
;
Callers
nothing calls this directly
Calls
11
nextdir
Function · 0.90
assertDirEquivalent
Function · 0.90
mustNotMutateObjectDeep
Function · 0.85
writeFileSync
Function · 0.85
mkdirSync
Function · 0.70
mustCall
Function · 0.70
join
Function · 0.50
cp
Function · 0.50
readFileSync
Function · 0.50
refresh
Method · 0.45
path
Method · 0.45
Tested by
no test coverage detected