MCPcopy Index your code
hub / github.com/nodejs/node / test-fs-cp-sync-unicode-dest.mjs

File test-fs-cp-sync-unicode-dest.mjs

test/parallel/test-fs-cp-sync-unicode-dest.mjs:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1// Regression test for https://github.com/nodejs/node/issues/61878
2// fs.cpSync should copy files when destination path has UTF characters.
3import '../common/index.mjs';
4import { cpSync, mkdirSync, readdirSync, readFileSync, writeFileSync } from 'node:fs';

Callers

nothing calls this directly

Calls 9

writeFileSyncFunction · 0.85
cpSyncFunction · 0.85
includesMethod · 0.80
mkdirSyncFunction · 0.70
joinFunction · 0.50
readdirSyncFunction · 0.50
readFileSyncFunction · 0.50
refreshMethod · 0.45
okMethod · 0.45

Tested by

no test coverage detected