How to get free YouTube subscribers, likes and views?
Get Free YouTube Subscribers, Views and Likes

Why Vitest Is Better Than Jest

Follow
Web Dev Simplified

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:    • Introduction To Testing In JavaScript...  


Find Me Here:

My Blog: https://blog.webdevsimplified.com
My Courses: https://courses.webdevsimplified.com
Patreon:   / webdevsimplified  
Twitter:   / devsimplified  
Discord:   / discord  
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

posted by cobragroupuo