Vitest

Best for: Unit tests in Vite or TypeScript projects

Overview

Test runner built on Vite with a Jest-compatible API, so Jest-style tests mostly work, and TypeScript works without extra setup.

Strengths

  • Fast, with watch mode
  • Jest-compatible API

Drawbacks

  • Best fit when you already use Vite

Alternatives to Vitest

See all 13 →

MDN Web Docs

Learning and looking up web basics
Free

Mozilla's reference and free course for HTML, CSS and JavaScript. The standard place to check how a web API or language feature actually works.

The Modern JavaScript Tutorial

Understanding JavaScript properly
Free

Free, in-depth JavaScript tutorial (javascript.info) from basics to closures, prototypes, promises and async, with exercises after each chapter.

TypeScript Handbook

Learning TypeScript
Free

The official TypeScript guide to types, narrowing, generics and modules. Pair it with the online Playground to try examples.