npm 包搜索

搜索 npm 上的 JavaScript 依赖包

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

Support for import assertions in acorn

MIT
assert-helpers

Common utilities and helpers to make testing assertions easier

Artistic-2.0
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

to-regex-range

Pass two numbers, get a regex-compatible source string for matching ranges. Validated against more than 2.78 million test assertions.

MIT
@babel/plugin-syntax-import-assertions

Allow parsing of the module assertion attributes in the import statement

MIT
should-http

Http requests, response assertions for should.js

MIT
assume

Expect-like assertions that works seamlessly in node and browsers

MIT
chai-files

file system assertions for chai

MIT
referee

Assertions for any JavaScript test framework and environment

BSD-3-Clause
dirty-chai

Extends Chai with lint-friendly terminating assertions.

MIT
unexpected-eventemitter

EventEmitter assertions for Unexpected

Apache-2.0
nightwatch-helpers

custom assertions and commands for easier nightwatch tests

MIT
eslint-plugin-ts-expect

Write `dtslint` style comment assertions using eslint.

MIT
simple-assert

Vanilla Assertions

MIT
chai-changes

Change assertions for the Chai assertion library

babel-plugin-unassert

Babel plugin for unassert: Encourages programming with assertions by providing tools to compile them away

MIT
expect-legacy

Write better assertions

MIT
typescript-definition-tester

The purpose of this repository is to wrap the TypeScript compiler so that a consumer can easily test their ambient module declarations against example *.ts files. This module uses chai assertions so that a user can easily add this step to existing unit t

MIT
eslint-plugin-expect-type

ESLint plugin with ^? Twoslash, $ExpectError, and $ExpectType type assertions. 🧩

Apache-2.0
type-assertions

Assertions to test your TypeScript types.

chai-nightwatch

This is a trimmed down version of Chai to support Nightwatch.js related assertions.

MIT