npm 包搜索

搜索 npm 上的 JavaScript 依赖包

搜索 "assert" 的结果(共 19 个)
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

The assert module from Node.js, for the browser.

MIT
jasmine-pit

Writing tests for promises in jasmine is kind of a pain in the ass. jasmine-pit makes doing such things a tiny bit easier by providing an augmented version of `it()` (called `pit()`) that allows you to simply return a promise that may eventually assert ex

MIT
assert-helpers

Common utilities and helpers to make testing assertions easier

Artistic-2.0
chai-exclude

Exclude keys to compare from a deep equal operation with chai expect and assert

MIT
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.

check-types

A little library for asserting types and values, with zero dependencies.

MIT
deep-is

node's assert.deepEqual algorithm except for NaN being equal to NaN

MIT
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
assert-never

Helper function for exhaustive checks of discriminated unions in TypeScript

MIT
expect

Write better assertions

MIT
http-assert

assert with status codes

MIT
better-assert

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

empower-core

Power Assert feature enhancer for assert function/object

MIT