expect

  • Version 27.2.5
  • Published
  • 169 kB
  • 6 dependencies
  • MIT license

Install

npm i expect
yarn add expect
pnpm add expect

Overview

This package exports the `expect` function used in [Jest](https://jestjs.io/). You can find its documentation [on Jest's website](https://jestjs.io/docs/expect).

Index

Variables

Interfaces

Type Aliases

Variables

variable expectExport

const expectExport: Expect<JestMatcherState>;

    Interfaces

    interface Matchers

    interface Matchers<R> extends MatcherInterface<R> {}

      Type Aliases

      type MatcherState

      type MatcherState = JestMatcherState;

        Package Files (1)

        Dependencies (6)

        Dev Dependencies (4)

        Peer Dependencies (0)

        No peer dependencies.

        Badge

        To add a badge like this onejsDocs.io badgeto your package's README, use the codes available below.

        You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/expect.

        • Markdown
          [![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/expect)
        • HTML
          <a href="https://www.jsdocs.io/package/expect"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>