Today we go over the best vitest setup for general React or React-router v7.
👍 Don't forget to like, comment, and subscribe for more episodes in this series! Join our coding community and let's build something amazing together.
https://github.com/forge42dev/base-stack
📌 Stay Connected:
Twitter: https://twitter.com/AlemTuzlak
GitHub: https://github.com/AlemTuzlak
Company Github: https://github.com/forge-42
⏱️ Timestamps:
00:00 - intro
00:22 - going over vitest browser mode
03:36 - test commands
03:57 - explaining the test suites
05:50 - vitest config
06:49 - vitest workspaces
08:48 - UI preview of vitest
09:38 - why this setup is so awesome
10:34 - adding different environments (integration, e2e)
11:34 - coverage reminder and other benefits
12:18 - setting up react-router test suites
15:55 - outro
🔖 Tags:
Vite, react router Vite, web development, frontend development, coding tutorial, open source, coding community, react router, react router tutorial