Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pablo-mayrgundter/react-zustand-jest
Testing compatibility a react hook for zustand with jest and testing-library.
https://github.com/pablo-mayrgundter/react-zustand-jest
javascript jest testing-library zustand
Last synced: 20 days ago
JSON representation
Testing compatibility a react hook for zustand with jest and testing-library.
- Host: GitHub
- URL: https://github.com/pablo-mayrgundter/react-zustand-jest
- Owner: pablo-mayrgundter
- Created: 2022-08-20T05:22:13.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-08-20T06:17:56.000Z (over 2 years ago)
- Last Synced: 2024-11-15T22:12:09.989Z (3 months ago)
- Topics: javascript, jest, testing-library, zustand
- Language: JavaScript
- Homepage:
- Size: 66.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# react-zustand-jest
Testing compatibility a react hook for [zustand](https://github.com/pmndrs/zustand)
with [jest](https://jestjs.io/) and [testing-library](https://testing-library.com/).```
> yarn install
...
> yarn jest
yarn run v1.22.17
...
PASS ./App.test.jsxTest Suites: 1 passed, 1 total
Tests: 1 passed, 1 total
Snapshots: 0 total
Time: 0.784 s, estimated 1 s
Ran all test suites.
✨ Done in 1.53s.
```