Awesome MSW + Cypress + Vitest Integration #2371
singhAmandeep007
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have prepared a React + Vite boilerplate which includes integration of MSW with Vitest and Cypress.
This allows to easily test an application with mocked responses.
With mocked response you can easily simulate a success scenario as well as failure scenario, thus covering most of user stories.
What's included ?
✅ Automatic reset
✅ Isolation
✅ Logging
✅ Fully Type safe
✅ With middleware
Repo
MSW + Cypress
MSW + Vitest
Please give it a ⭐️ if it helped.
Beta Was this translation helpful? Give feedback.
All reactions