Open rumbogs opened 2 years ago
Also faced this problem. Redux-saga-test-plan is not working with typed-redux-saga. Error message in test: Cannot find module 'typed-redux-saga/dist'.
We've just completed the switch to typed-redux-saga
in a codebase using redux-saga-test-plan
extensively too.
No problems to report.
We didn't use macros
as it wasn't working right with jest code coverage.
The important part was to keep importing the redux-saga/effects
in tests using redux-saga-test-plan
.
See it all here: https://github.com/valora-inc/wallet/pull/3961
I've been using https://github.com/jfairbank/redux-saga-test-plan extensively in a project for easier testing purposes. Seems that
typed-redux-saga
breaks our tests since the API doesn't work with generator delegation.Are there any solutions available?