Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/nodejs/node
/ test-fs-cp-async-identical-src-dest.mjs
File
test-fs-cp-async-identical-src-dest.mjs
test/parallel/test-fs-cp-async-identical-src-dest.mjs:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
// This tests that cp() returns error when src and dest are identical.
2
3
import
{ mustCall } from
'../common/index.mjs'
;
4
import
assert from
'node:assert'
;
Callers
nothing calls this directly
Calls
4
mustCall
Function · 0.70
cp
Function · 0.50
refresh
Method · 0.45
path
Method · 0.45
Tested by
no test coverage detected