# jest-extended

> Additional Jest matchers

Latest version **7.0.0** (published 2025-11-05) · MIT license · 0 weekly downloads

## Install

```sh
npm install jest-extended
pnpm add jest-extended
yarn add jest-extended
bun add jest-extended
```

## Health

**Score 60/100 (C)** — status: stable.

Positive: has types; no vulnerabilities; high maintenance score; high quality score.

Warnings: low downloads; no esm support.

## Facts

| | |
|---|---|
| Version | 7.0.0 |
| Published | 2025-11-05 |
| First published | 2017-10-20 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Node | ^20.9.0 \|\| ^22.11.0 \|\| ^24.11.0 \|\| >=25.0.0 |
| Dependencies | 1 |
| Unpacked size | 136.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2350 |
| Author | Matt Phillips |
| Maintainers | simenb, mattphillips |
| Keywords | jest, matchers, extend, extended, test, testing, assertions |

## Links

- npm: https://www.npmjs.com/package/jest-extended
- Repository: https://github.com/jest-community/jest-extended
- Homepage: https://github.com/jest-community/jest-extended#readme
- Issues: https://github.com/jest-community/jest-extended/issues
- npm.io page: https://npm.io/package/jest-extended

## Dependencies (1)

- [jest-diff](https://npm.io/package/jest-diff.md) ^30.0.0

## Alternatives

- [duck](https://npm.io/package/duck.md) — 4.2M weekly downloads
- [ava](https://npm.io/package/ava.md) — 560.2K weekly downloads
- [storybook-addon-module-mock](https://npm.io/package/storybook-addon-module-mock.md) — 71.7K weekly downloads
- [vest](https://npm.io/package/vest.md) — 50.1K weekly downloads
- [@ethereum-waffle/mock-contract](https://npm.io/package/@ethereum-waffle/mock-contract.md) — 40.0K weekly downloads

## Recent versions

- 7.0.0 (latest) — 2025-11-05
- 6.0.0 — 2025-06-08
- 5.0.3 — 2025-05-21
- 5.0.2 — 2025-05-19
- 5.0.1 — 2025-05-19
- 5.0.0 — 2025-05-18
- 4.0.2 — 2023-10-10
- 4.0.1 — 2023-08-03
- 4.0.0 — 2023-06-05
- 3.2.4 — 2023-02-18
- 3.2.3 — 2023-01-10
- 3.2.2 — 2023-01-06
- 3.2.1 — 2023-01-02
- 3.2.0 — 2022-11-23
- 3.1.0 — 2022-08-31
- … 31 more at https://npm.io/package/jest-extended/versions

## README

<div align="center">
  <h1>jest-extended</h1>

🃏💪

Additional Jest matchers

</div>

<hr />

[![Build Status](https://img.shields.io/github/actions/workflow/status/jest-community/jest-extended/ci.yaml?style=flat-square)](https://github.com/jest-community/jest-extended/actions/workflows/ci.yaml)
[![Code Coverage](https://img.shields.io/codecov/c/github/jest-community/jest-extended.svg?style=flat-square)](https://codecov.io/github/jest-community/jest-extended)
[![version](https://img.shields.io/npm/v/jest-extended.svg?style=flat-square)](https://www.npmjs.com/package/jest-extended)
[![downloads](https://img.shields.io/npm/dm/jest-extended.svg?style=flat-square)](http://npm-stat.com/charts.html?package=jest-extended&from=2017-09-14)
[![MIT License](https://img.shields.io/npm/l/jest-extended.svg?style=flat-square)](https://github.com/jest-community/jest-extended/blob/main/LICENSE)
[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](./CONTRIBUTING.md)
[![Examples](https://img.shields.io/badge/%F0%9F%92%A1-examples-ff615b.svg?style=flat-square)](https://github.com/jest-community/jest-extended/tree/main/examples)

## Problem

Jest is an amazing test runner and has some awesome assertion APIs built in by default. However, there are times when
having more specific matchers (assertions) would be far more convenient.

## Solution

jest-extended aims to add additional matchers to Jest's default ones making it easy to test everything 🙌

## Contributing

If you've come here to help contribute - Thanks! Take a look at the [contributing](/CONTRIBUTING.md) docs as a way of getting started.

## Installation

See the [Installation Guide](https://jest-extended.jestcommunity.dev/docs/getting-started/install) on Jest Extended documentation site.

## Setup

See the [Setup instructions](https://jest-extended.jestcommunity.dev/docs/getting-started/setup) on Jest Extended documentation site.

## Matchers

See all available [matchers and interactive repl](https://jest-extended.jestcommunity.dev/docs/matchers) on Jest Extended documentation site.

## LICENSE

[MIT](/LICENSE)

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