Categories
Website Design

Why Vitest Is Better Than Jest [Video]

Watch/Read More

Why Vitest Is Better Than Jest

Vitest is a simple testing library built on top of Vite which takes everything I love about Jest and brings it to the modern age of JavaScript. Everyone that has worked with Jest knows how much of a pain it is to work with ES modules, but Vitest makes it trivial. Vitest also adds many additional features and quality of life changes that make it better than Jest in my opinion.

📚 Materials/References:

Jest Tutorial Video: https://youtu.be/FgnxcUQ5vho

🌎 Find Me Here:

My Blog: https://blog.webdevsimplified.com
My Courses: https://courses.webdevsimplified.com
Patreon: https://www.patreon.com/WebDevSimplified
Twitter: https://twitter.com/DevSimplified
Discord: https://discord.gg/7StTjnR
GitHub: https://github.com/WebDevSimplified
CodePen: https://codepen.io/WebDevSimplified

⏱️ Timestamps:

00:00 – Introduction
00:44 – Create a vite project
01:33 – Basic vitest tests
05:51 – Test coverage reports
08:16 – Inline testing

#Vitest #WDS #Jest