(req, ctor_name)
| 31 | } |
| 32 | |
| 33 | function testInitialized(req, ctor_name) { |
| 34 | assert.strictEqual(typeof req.getAsyncId, 'function'); |
| 35 | assert(Number.isSafeInteger(req.getAsyncId())); |
| 36 | assert(req.getAsyncId() > 0); |
| 37 | assert.strictEqual(req.constructor.name, ctor_name); |
| 38 | } |
| 39 | |
| 40 | { |
| 41 | const ttyFd = common.getTTYfd(); |
no test coverage detected