# @storybook/expect

> Browser-compatible version of Jest's `expect`

Latest version **28.1.3-5** (published 2023-08-29) · MIT license · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

```sh
npm install @storybook/expect
pnpm add @storybook/expect
yarn add @storybook/expect
bun add @storybook/expect
```

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 28.1.3-5 |
| Published | 2023-08-29 |
| First published | 2021-08-11 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 1 |
| Unpacked size | 666.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 9 |
| Maintainers | thafryer, shaunlloyd, kylegach, tooppaaa, ndelangen, shilman, alexandrebodin, hypnosphi, danielduan, igor-dv, pksunkara, tmeasday, gongreg, domyen, usulpro, kylesuss, ghengeveld, pago, dandean, codebyalex, mrmckeb, dannyhw, winkervsbecks, rvasikarla, amalik2, lshadler, phated, yannbf, dylanpiercey, monkeyworks, darleendenno |

## Links

- npm: https://www.npmjs.com/package/@storybook/expect
- Repository: https://github.com/storybookjs/expect
- Homepage: https://github.com/storybookjs/expect#readme
- Issues: https://github.com/storybookjs/expect/issues
- npm.io page: https://npm.io/package/@storybook/expect

## Dependencies (1)

- [@types/jest](https://npm.io/package/@types/jest.md) 28.1.3

## Recent versions

- 28.1.3-5 (latest) — 2023-08-29
- 28.1.4-canary.1 (canary) — 2023-08-29
- 27.3.2-2 (@storybook/jest) — 2021-11-22
- 28.1.3 — 2023-04-17
- 28.1.3-4 — 2023-04-17
- 28.1.3-3 — 2023-04-17
- 28.1.3-2 — 2023-04-17
- 29.5.0-1 — 2023-04-17
- 28.1.3-1 — 2023-04-17
- 28.1.4-canary.0 — 2022-10-06
- 27.5.2-0 — 2022-02-17
- 27.5.1 — 2022-02-09
- 27.5.0 — 2022-02-06
- 27.4.6 — 2022-01-05
- 27.4.2 — 2021-12-01
- … 11 more at https://npm.io/package/@storybook/expect/versions

## README

# @storybook/expect

[![npm version](https://img.shields.io/npm/v/@storybook/expect?label=%40storybook%2Fexpect)](https://npmjs.com/package/@storybook/expect)

Browser-compatible version of Jest's [`expect`](https://jestjs.io/docs/expect).

## Installation

```sh
yarn add @storybook/expect
```

or

```sh
npm install @storybook/expect
```

## Usage

```js
import expect from "@storybook/expect"

expect(true).toBe(true)
```

## Documentation

👉 https://jestjs.io/docs/expect

---
_Source: https://npm.io/package/@storybook/expect · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
