redux-saga-test-plan icon indicating copy to clipboard operation
redux-saga-test-plan copied to clipboard

Test Redux Saga with an easy plan.

Results 104 redux-saga-test-plan issues
Sort by recently updated
recently updated
newest added

## Background I have a "gradual-backoff" built into a saga using [Redux-saga's `delay()`](https://redux-saga.js.org/docs/api/) effect. I am using `expectSaga` to write the test. But in order [to get the test to...

Logs are TypeError: (0 , _reduxSaga.stdChannel) is not a function at expectSaga (/Users/gaurav.singh/Documents/projects/my-project/node_modules/redux-saga-test-plan/lib/expectSaga/index.js:123:47) at Object. (/Users/gaurav.singh/Documents/projects/my-project/src/redux/common/init/test/init.reducer.test.js:16:16) at Object.asyncJestTest (/Users/gaurav.singh/Documents/projects/my-project/node_modules/jest-jasmine2/build/jasmineAsyncInstall.js:102:37) at /Users/gaurav.singh/Documents/projects/my-project/node_modules/jest-jasmine2/build/queueRunner.js:43:12 at new Promise () at mapper (/Users/gaurav.singh/Documents/projects/my-project/node_modules/jest-jasmine2/build/queueRunner.js:26:19) at /Users/gaurav.singh/Documents/projects/my-project/node_modules/jest-jasmine2/build/queueRunner.js:73:41...

Hi I'm having this weird issue, that when I'm passing the call action in an unit test I'm receiving this error, test was working before, but I add to that...

Question: any plans to expect adjust hasFinalState to consider immutable.js based state or give a possibility to transform state e.g. ```ts ... .hasFinalState((state) => state.getIn(['x','y]) === 'yyy) ... ``` e.g....

I have a test which is using expectSaga, the saga gets called, but if the test fails, it doesn't output any console.log which was within the saga. If the test...

# Introduction I have been using `redux-saga-test-plan` for a while now, I wrote a bunch of tests using this library and it was a great help, I thank everyone who...

# Context In the application we adopted Sagas to manage our side effects. We've tried to use this excellent library to improve our test readability of our tests and that...

Redux saga is capable of handling selectors that take additional arguments, f.e. `mySelectorFn: (state, itemId) => state.content.map[itemId]` Whereas testSaga.select notation only accepts selector of type `((state) => any, args)` meaning...

Hey there! I'm implementing `redux-saga-test-plan` on an existent project, and I'm having some troubles to use `expectSaga.provide` with a specific kind of selector, and I do believe that this has...

Hi, everyone! I have a saga with infinity loop, where it takes an action and depending on action's payload yield self cancellation. How this case may be tested correctly? ```...