MCPcopy Index your code
hub / github.com/nodejs/node / doWriteAsyncLargeIterable

Function doWriteAsyncLargeIterable

test/parallel/test-fs-promises-writefile.js:118–122  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

116}
117
118async function doWriteAsyncLargeIterable() {
119 await fsPromises.writeFile(dest, veryLargeBuffer);
120 const data = fs.readFileSync(dest, 'utf-8');
121 assert.deepStrictEqual(data, veryLargeBuffer.expected);
122}
123
124async function doWriteInvalidValues() {
125 await Promise.all(

Callers 1

Calls 2

writeFileMethod · 0.45
readFileSyncMethod · 0.45

Tested by

no test coverage detected