This package has been deprecated

Author message:

In Storybook 8, this package functionality has been integrated to a new package called @storybook/test, which uses Vitest APIs for an improved experience. When upgrading to Storybook 8 with 'npx storybook@latest upgrade', you will get prompted and will get an automigration for the new package. Please migrate when you can.

@storybook/expect
TypeScript icon, indicating that this package has built-in type declarations

28.1.3-5 • Public • Published

@storybook/expect

npm version

Browser-compatible version of Jest's expect.

Installation

yarn add @storybook/expect

or

npm install @storybook/expect

Usage

import expect from "@storybook/expect"

expect(true).toBe(true)

Documentation

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

Readme

Keywords

none

Package Sidebar

Install

npm i @storybook/expect

Weekly Downloads

461,198

Version

28.1.3-5

License

MIT

Unpacked Size

682 kB

Total Files

7

Last publish

Collaborators

  • domyen
  • ghengeveld
  • jreinhold
  • kasperpeulen
  • kylegach
  • ndelangen
  • shilman
  • tmeasday
  • valentinpalkovic
  • winkervsbecks
  • yannbf