Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/storybookjs/expect
Browser-compatible version of Jest's `expect`
https://github.com/storybookjs/expect
Last synced: about 1 month ago
JSON representation
Browser-compatible version of Jest's `expect`
- Host: GitHub
- URL: https://github.com/storybookjs/expect
- Owner: storybookjs
- License: other
- Created: 2021-08-11T12:21:50.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-12-08T19:44:10.000Z (9 months ago)
- Last Synced: 2024-04-13T17:08:24.920Z (5 months ago)
- Language: JavaScript
- Homepage: https://jestjs.io/docs/expect
- Size: 49.8 KB
- Stars: 8
- Watchers: 8
- Forks: 3
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: CODEOWNERS
Awesome Lists containing this project
README
> ⚠️ This package will not work with storybook 8
>
> Please use @storybook/test instead.# @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