Yoav Amit

Results 8 comments of Yoav Amit

I'll make sure to open-source our redux-saga testing infrastructure soon. Basically what we wrote is a component that you construct with full initial "state", an optional list of reducers (for...

Hi all, Here we go: https://www.npmjs.com/package/redux-saga-tester Let me know what you think.

@neurosnap I disagree - 'testing that you wrote specific lines of codes' is not unit-test. (by the way, I think that's also what @slorber meant, @slorber correct me if I'm...

@neurosnap yup, exactly.

@yelouafi call effects are executed (since our testing infrastructure uses redux-saga to execute the saga), however we never call the 'real functions' in our unit-testing. All our sagas are initialized...

@jfairbank @axelson @AsaAyers For me, tests are relevant in the long run if I don't need to change them as long as I don't completely change the logic of the...

@yelouafi Indeed, I give this specifically as an example foe a `call` effect testing. Indeed since in this example every line is an output effect, order (flow) matters, and is...

Nah. I'd rather it just auto-magically appear.