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

Function testUninitialized

test/sequential/test-async-wrap-getasyncid.js:87–91  ·  view source on GitHub ↗
(req, ctor_name)

Source from the content-addressed store, hash-verified

85}
86
87function testUninitialized(req, ctor_name) {
88 assert.strictEqual(typeof req.getAsyncId, 'function');
89 assert.strictEqual(req.getAsyncId(), -1);
90 assert.strictEqual(req.constructor.name, ctor_name);
91}
92
93function testInitialized(req, ctor_name) {
94 assert.strictEqual(typeof req.getAsyncId, 'function');

Callers 2

writeDataFunction · 0.85

Calls 1

getAsyncIdMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…