npm 包搜索

搜索 npm 上的 JavaScript 依赖包

搜索 "assertion" 的结果(共 11 个)
acorn-import-assertions

Support for import assertions in acorn

MIT
chai

BDD/TDD assertion library for node.js and the browser. Test framework agnostic.

MIT
assert-helpers

Common utilities and helpers to make testing assertions easier

Artistic-2.0
assertion-error

Error constructor for test and validation frameworks that implements standardized AssertionError specification.

MIT
should

test framework agnostic BDD-style assertions

MIT
expect.js

BDD style assertions for node and the browser.

sinon-chai

Extends Chai with assertions for the Sinon.JS mocking framework.

(BSD-2-Clause OR WTFPL)
type-component

Cross-browser type assertions (less broken typeof)

component-type

Type assertions aka less-broken `typeof`

MIT
expect

Write better assertions

MIT
better-assert

Better assertions for node, reporting the expr, filename, lineno etc