(origin)
| 11610 | } |
| 11611 | /** |
| 11612 | * Sets up the base interceptor for mocking replies from undici. |
| 11613 | */ |
| 11614 | intercept(opts) { |
| 11615 | return new MockInterceptor(opts, this[kDispatches]); |
| 11616 | } |
| 11617 | [kClose]() { |
| 11618 | return __async(this, null, function* () { |
| 11619 | yield promisify(this[kOriginalClose])(); |
| 11620 | this[kConnected] = 0; |
| 11621 | this[kMockAgent][Symbols.kClients].delete(this[kOrigin]); |
| 11622 | }); |
| 11623 | } |
| 11624 | }; |
| 11625 | module.exports = MockPool; |
| 11626 | } |
| 11627 | }); |
| 11628 | |
| 11629 | // |
| 11630 | var require_pluralizer = __commonJS({ |
| 11631 | ""(exports, module) { |
| 11632 | "use strict"; |
| 11633 | var singulars = { |
nothing calls this directly
no test coverage detected