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

Function openTest

test/sequential/test-async-wrap-getasyncid.js:228–232  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

226
227{
228 async function openTest() {
229 const fd = await fsPromises.open(__filename, 'r');
230 testInitialized(fd, 'FileHandle');
231 await fd.close();
232 }
233 openTest().then(common.mustCall());
234}
235

Callers 1

Calls 3

testInitializedFunction · 0.70
openMethod · 0.65
closeMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…