Skip to content

Moving from jest to vitest

Course: Testing in the MERN Stack - chapter 5

https://vitest.dev/ is the mildly recent entrant in the testing framework market.

It has a bunch of benefits over jest, specially has great support for TS.

So we’ll be moving to vitest for all future tests

It is highly compatable with jest

Link to why vitest - https://vitest.dev/guide/why.html