Closed seriouslag closed 3 months ago
This PR exposes a method to delay the mocks response, adds types, and tests.
mock.onGet().withDelayInMs(1000).reply(status, data) already supports functionality for that (on v2.0.0 it's properly chainable). There's no need to expose the internal function.
mock.onGet().withDelayInMs(1000).reply(status, data)
This PR exposes a method to delay the mocks response, adds types, and tests.