← Back to dashboard

happy-dom

major behind

Lightweight DOM for Vitest

Installed
16.0.0
Latest
20.10.1
Category
tooling
Importance
standard

Why we picked it

Faster than jsdom, sufficient for our DOM hook tests (matchMedia, getComputedStyle).

When to use

Vitest environment for any test that touches DOM APIs.

GitHub: capricorn86/happy-dom · npm: happy-dom