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:

🌎 Find Me Here:

My Blog:
My Courses:

⏱️ 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