1. Docs
  2. Testing

Small checks · clear ownership

Five layers. One hundred two checks.

vanilla-test 2.1.1 runs focused Unit, Functional, Behavioral, Integration, and Regression checks. No duplicated cases. Forty-two shared checks import bare package names and run unchanged in Node and real Google Chrome, where the explicit import map proves js-queue works with bundlers and without a bundler.

Native V8 evidence

Every core path is required.

The coverage configuration includes only the shipped ESM queue. Node uses package self-resolution; real Chrome uses the checked-in import map for js-queue, both stack paths, and easy-stack. Both collect native V8 data and enforce the same floor.

100%statements required
100%branches required
100%functions required
100%lines required
npm run coverage
# or independently
npm run coverage:node
npm run coverage:chrome
No source instrumentation or bundle enters the path.

The JavaScript measured by both collectors is the same queue.js consumers import.

Delivery gates

Runtime and package shape are explicit.

CI runs vanilla-test across platforms and the exact Node floor, collects native Chrome coverage, reproduces the benchmark, and installs the packed artifact. Pages deploys only after that main run succeeds.

Continuous integration jobs
GateRuntimesProves
PlatformsNode 24 · Linux, macOS, WindowsThe full suite behaves consistently across operating systems.
Runtime floorNode 22.13ESM and synchronous CommonJS share one source without warnings.
CoverageNode 24 + Chrome StableThe same 42-check inventory resolves bare imports and both native V8 collectors satisfy every 100% gate.
BenchmarkNode 24The tagged 3.0.0 baseline and private-field runtime are measured again.
PackageNode 24The tarball resolves ESM, CommonJS, browser, and stack files; a conflicting root dependency is poisoned while the declared nested dependency executes.