MCPcopy 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
3import { mustCall } from '../common/index.mjs';
4import assert from 'node:assert';

Callers

nothing calls this directly

Calls 4

mustCallFunction · 0.70
cpFunction · 0.50
refreshMethod · 0.45
pathMethod · 0.45

Tested by

no test coverage detected