~/talk

Vitest: testing DX reimagined

Talkat ViteConf 2022 · 2022-10-11..10-12· [testing]
name:Vladimir
links:none on file
slides:none on file

Vitest is a Vite-based test runner that runs ESM/TypeScript/JSX without extra config, uses Vite’s module graph so tests rerun fast (example: a component test completes in ~132ms), and provides snapshots, chai-style assertions plus a Jest-compatible expect API, coverage via c8/Istanbul, and an experimental browser UI that lets you edit tests inline. It adds specific features like instant watch mode and test change detection and supports in-source testing and experimental benchmarking; most demos run successfully with minimal setup.

AI-written summary · about

  1. 0:00Introduction to Vitest
  2. 0:36Key features of Vitest
  3. 2:46Vitest in action
  4. 5:34Migration and watch mode
  5. 9:21Node.js testing and context
  6. 14:28In-source testing
  7. 17:16Future roadmap
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.