We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Redux saga is capable of handling selectors that take additional arguments, f.e. mySelectorFn: (state, itemId) => state.content.map[itemId]
mySelectorFn: (state, itemId) => state.content.map[itemId]
Whereas testSaga.select notation only accepts selector of type ((state) => any, args)
((state) => any, args)
meaning that I can not write a mock efffect like testSaga.select(mySelectorFn, 5).next(somePieceOfState)
testSaga.select(mySelectorFn, 5).next(somePieceOfState)
Is there a way to pass this additional parameter into the effect?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
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 that I can not write a mock efffect like
testSaga.select(mySelectorFn, 5).next(somePieceOfState)
Is there a way to pass this additional parameter into the effect?
The text was updated successfully, but these errors were encountered: