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
Would be nice to see at least a simple example of unit testing this with jest or jest+enzyme.
jest
jest+enzyme
aside: love this, hoping it comes to fruition.
The text was updated successfully, but these errors were encountered:
Glad you like it! As for testing, I haven't given much of a thought for it yet as hooks are still a proposal.
One thing that comes to mind would be to wrap testing component with a provider in a test case.
const store = createMockStore(); const component = mount( <StoreContext.Provider value={store}> <TestingComponent /> </StoreContext.Provider> )
Sorry, something went wrong.
You might also be interested in following hooks discussion in react-redux repo here
react-redux
I'm closing this as there is no point in using this library since react-redux supports hooks out the box.
No branches or pull requests
Would be nice to see at least a simple example of unit testing this with
jest
orjest+enzyme
.aside: love this, hoping it comes to fruition.
The text was updated successfully, but these errors were encountered: