npm 包搜索

搜索 npm 上的 JavaScript 依赖包

搜索 "Expect" 的结果(共 75 个)
expect-ct

Middleware to set the Expect-CT header

MIT
chai-exclude

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

MIT
expect.js

BDD style assertions for node and the browser.

expect

Write better assertions

MIT
@jest/expect

This package extends `expect` library with `jest-snapshot` matchers. It exports `jestExpect` object, which can be used as standalone replacement of `expect`.

MIT
remark-footnotes

Deprecated: this package is no longer maintained. Please use [`remark-gfm`][gfm] instead. That package match how footnotes work on github.com, which is more likely to match the expectations of authors.

minipass-sized

A Minipass stream that raises an error if you get a different number of bytes than expected

ISC
@jest/expect-utils

This module exports some utils for the `expect` function used in [Jest](https://jestjs.io/).

MIT
nock

HTTP server mocking and expectations library for Node.js

MIT
wait-for-expect

Wait for expectation to be true, useful for integration and end to end testing

MIT
assume

Expect-like assertions that works seamlessly in node and browsers

MIT
chai-diff

Adds expectations to chai which compare strings or objects using diff.

LGPL-3.0
eslint-plugin-chai-friendly

This plugin makes 'no-unused-expressions' rule friendly towards chai expect statements.

MIT
ts-expect

Checks TypeScript types match expected values

MIT
unexpected-eventemitter

EventEmitter assertions for Unexpected

Apache-2.0
jest-expect-message

Add custom message to Jest expects

MIT
expect-jsx

toEqualJSX for mjackson/expect

MIT
eslint-plugin-ts-expect

Write `dtslint` style comment assertions using eslint.

MIT
unexpected-set

Add support to Unexpected for testing Set instances

BSD-3-Clause
unexpected-map

Add support to Unexpected for testing Map instances

MIT
unexpected-sinon

This module extends the [Unexpected](https://github.com/unexpectedjs/unexpected) assertion library with integration for the [Sinonjs](http://sinonjs.org/) mocking library.

MIT
eslint-plugin-chai-expect

ESLint plugin that checks for common chai.js expect() mistakes

MIT
esmocha

[Mocha](https://mochajs.org) wrapper with built-in [typescript](https://github.com/node-loaders/loaders/tree/main/workspaces/esbuild), built-in [expect](https://jestjs.io/docs/expect) with [mock](https://github.com/node-loaders/loaders/tree/main/workspace

expect-legacy

Write better assertions

MIT
type-tester

A tester to check expected type errors

MIT
eslint-plugin-expect-type

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

Apache-2.0
assert-transform

Return a promise asserting that `babelTransform(actual) === expected`

MIT
@types/expect

Stub TypeScript definitions entry for expect, which provides its own types definitions

MIT
expect-type

[![CI](https://github.com/mmkal/expect-type/actions/workflows/ci.yml/badge.svg)](https://github.com/mmkal/expect-type/actions/workflows/ci.yml) ![npm](https://img.shields.io/npm/dt/expect-type) [![X Follow](https://img.shields.io/twitter/follow/mmkal)](ht

Apache-2.0