(origin)
| 11558 | */ |
| 11559 | intercept(opts) { |
| 11560 | return new MockInterceptor(opts, this[kDispatches]); |
| 11561 | } |
| 11562 | [kClose]() { |
| 11563 | return __async(this, null, function* () { |
| 11564 | yield promisify(this[kOriginalClose])(); |
| 11565 | this[kConnected] = 0; |
| 11566 | this[kMockAgent][Symbols.kClients].delete(this[kOrigin]); |
| 11567 | }); |
| 11568 | } |
| 11569 | }; |
| 11570 | module.exports = MockClient; |
no outgoing calls
no test coverage detected