How can I test the store hook? #727
Replies: 1 comment 1 reply
-
Maybe because you don't renderHook after adding a grocery? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Basically, I'm trying to to do the following:
So I came up with the following code:
// The test
// The Store
The second test ("Should add a grocery item to the list") result is always "0".
Any help would be great!
Beta Was this translation helpful? Give feedback.
All reactions