Vibeleaderboard
Index / tool
Category
Developer Tools
Rank
No. 1908Tools index

Previous survey · No. 1971 ·

Pricing
Open Source
Type
TOOL
Use case
Software Testing & Quality
Interfaces
CLI
GitHub
8 stars
Latest release
v0.1.14
Date

About

warpdom is a DOM environment for unit and component tests, written from the WHATWG specifications as a drop-in replacement for jsdom in Vitest and Jest. Its authors report matching jsdom test results on 23 open-source suites apart from flaky tests and a short list of explained differences, and a median speedup of about 1.27x on the suites they tuned on. A compare command lets you check this on your own suite. It is marked pre-release.

At a glance

warpdom provides a simulated browser document for Jest and Vitest tests. It is worth comparing with jsdom if component tests take enough time to slow development and you can check for changed results.

Good fit

Teams with an existing jsdom suite and representative component tests to use as a baseline.

Consider something else when

Keep real-browser tests for behaviors that depend on browser rendering or integration with the browser itself.

Start here

On a disposable branch, run warpdom compare against your suite. Look at tests that change outcome before comparing elapsed times.

Cost and requirements

MIT-licensed. Requires Node.js 22.12 or later, Vitest 2 or later or Jest 27 or later. Vitest fast mode requires 3.2 or later.

Limits to know

The project is pre-1.0 and documents behavioral differences from jsdom. The maintainer’s measurements apply to the suites and configurations tested.

Suggest an improvement

Similar tools

Browse all tools →

Tags

jsdomvitestjesttestingdomnodejs

Tech Stack

Node.js

Editorially curated, with community endorsements as a secondary signal. Corrections welcome.