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

Function doWriteIterable

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

Source from the content-addressed store, hash-verified

81}
82
83async function doWriteIterable() {
84 await fsPromises.writeFile(dest, iterable);
85 const data = fs.readFileSync(dest, 'utf-8');
86 assert.deepStrictEqual(data, iterable.expected);
87}
88
89async function doWriteInvalidIterable() {
90 await Promise.all(

Callers 1

Calls 2

writeFileMethod · 0.45
readFileSyncMethod · 0.45

Tested by

no test coverage detected