redux-saga-delay-mock
Intercept and test against delays with redux-saga-tester without tying your tests to your implementation.
Currently only compatible with the master branch of redux-saga (as of 1.0.0-beta.0)
Installation
yarn add redux-saga-delay-mock
Useage
// ... create various actions and a saga ... const initialState = {} const delayMock = const sagaTester = initialState options: effectMiddlewares: delayMock sagaTester const pause = await delayMockpausenext