-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
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
fix(docs): update testing doc #1739
Conversation
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. Latest deployment of this branch, based on commit cee694b:
|
In [jest](https://jestjs.io/), you can create a `__mocks__/zustand.js` and place the code in that | ||
file. If your app is using `zustand/vanilla` instead of `zustand`, then you'll have to place the | ||
above code in `__mocks__/zustand/vanilla.js`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
From previous PR:
Nitpick: I find it easier to read and edit if the newlines are inserted after logical pauses in sentences, like commas or full stops.
See https://sembr.org/, it's a great read :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@sewera thanks for the feedback. I was trying to fit everything under max length 100
Related Issues or Discussions
Fixes #905
Summary
Update testing doc to support w/o middleware testing Zustand using Jest
Check List
yarn run prettier
for formatting code and docs