* Sets up the base interceptor for mocking replies from undici.
(opts)
| 11379 | * Delay a reply by a set amount in ms. |
| 11380 | */ |
| 11381 | delay(waitInMs) { |
| 11382 | if (typeof waitInMs !== "number" || !Number.isInteger(waitInMs) || waitInMs <= 0) { |
| 11383 | throw new InvalidArgumentError("waitInMs must be a valid integer > 0"); |
| 11384 | } |
| 11385 | this[kMockDispatch].delay = waitInMs; |
| 11386 | return this; |
nothing calls this directly
no outgoing calls
no test coverage detected