(count)
| 11470 | }; |
| 11471 | this.validateReplyParameters(replyParameters); |
| 11472 | const dispatchData = this.createMockScopeDispatchData(replyParameters); |
| 11473 | const newMockDispatch = addMockDispatch(this[kDispatches], this[kDispatchKey], dispatchData); |
| 11474 | return new MockScope(newMockDispatch); |
| 11475 | } |
| 11476 | /** |
| 11477 | * Mock an undici request with a defined error. |
| 11478 | */ |
| 11479 | replyWithError(error) { |
| 11480 | if (typeof error === "undefined") { |
no test coverage detected