uvu is an extremely fast and lightweight test runner for Node.js and the browser
format power-assert context
Detect native Buffer support.
assertion renderer for power-assert context
Test whether two double-precision complex floating-point numbers are the same value.
filepath renderer for power-assert context
TypeScript definitions for assert
Mocks node.js http.ServerResponse. See also `mock-req`.
Test if two arguments are the same value.
A static list of the Node.js builtin modules from the latest Node.js version
Nanoscale assertion module
The assert module from Node.js, for the browser.
Checks whether a value is an object
Put a bunch of emitted events in an array, for testing.
Robust call-bound JavaScript intrinsics, using `call-bind` and `get-intrinsic`.
Rich matchers inspired by Hamcrest. Useful for generating helpful assertion failure messages in tests.
Define multiple non-enumerable properties at once. Uses `Object.defineProperty` when available; falls back to standard assignment in older engines.
append AST into power-assert context
Better assertions for node, reporting the expr, filename, lineno etc
ES proposal-spec-compliant Object.fromEntries shim.
The best of both `JSON.stringify(obj)` and `JSON.stringify(obj, null, indent)`.
Simple utility to mock example objects based on JSON schema definitions
diagram renderer for power-assert context
comparison renderer for power-assert context