-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Example tests #20
Comments
Yeah, I was thinking about the same 👍 |
👍 |
Yes, this was something I was thinking about for a code example and blog
|
Probably too specific for a blog post, but one thing I've found tricky/messy is testing Store functions that don't emit change events. And for those that do, making Jest wait until the action has processed to verify behavior. |
@fisherwebdev I think it's perfect topic for a blog post and immutable data also sounds great! |
👍 |
👍 :-) |
👍 |
6 similar comments
👍 |
👍 |
👍 |
👍 |
👍 |
👍 |
@fisherwebdev thanks bill! probably can close this issue tho. |
@fisherwebdev Did you add docs on how to run the tests, and should they be passing? I just pulled the lastest and get errors running |
@justin808 this is somewhat related to #68 regarding documenting the build process for the examples. For running the examples test one needs to actually go into the example's folder, install dependencies and then run the tests (e.g, |
It would be great if the examples included a few (Jest) test cases. Preferably test cases that deal with both components and stores.
The text was updated successfully, but these errors were encountered: