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

I am just trying to set up saga tests for a react project. When running the tests it directly fails at this line: `const saga = testSaga(sagaName);` The error I...

If the implementation of the saga is using an action creator with a non deterministic action, is there a way to test this effect with matchers (regex, string, any)? ###...

enhancement
up-for-grabs

I'm a big fan of how BDD strives for readability in tests. For example: ``` expect(favouriteLibrariesOf(self)).to.contain('redux-saga-test-plan'); ``` I have the impression that this library wants to follow this pattern, hence...

In `redux-saga-test-plan` `v3.7.0` and `redux-saga` `v0.16.0`, I used to test exception in saga as below: ```js let saga = function* () { throw new Error('fail') } expect.assertions(1) expectSaga(saga) .run() .catch(err...

Is the remainder of #52 (passing in a (mock)store) still planned? I have found a case in my app where it would seem useful to either be able to pass...

We're using `redux-saga-test-plan` with `jest`, and I have recently started noticing timeout warnings printed to the console. When I add a test like the first example on [this page](https://github.com/jfairbank/redux-saga-test-plan/blob/3e386a22fa18eba5f719ef0489f023f5a014fd1b/docs/integration-testing/timeout.md), it...

I can only mock the return value of the generator function ```js expectSaga(func1) .provide({ call: ({ fn }, next) => (fn === api) ? "this is mock return value" :...

(package version: 3.6.0) Hi there, When asserting effects, it appears that they are removed from the `result.effects` object. ``` import { put, take } from 'redux-saga/effects' import { expectSaga }...

I'm trying to test a saga which is roughly laid out like below: ```js function* saga() { yield takeEvery(..., function* (action) { yield select(...) . . . } } ```...

Hi, in my project, i made some tests with my sagas and it's perfectly fine, but when i push my code to GitLab and the doctor and CI/CD try to...