# unexpected

> Extensible BDD assertion toolkit

Latest version **13.2.1** (published 2023-07-29) · MIT license · 0 weekly downloads

## Install

```sh
npm install unexpected
pnpm add unexpected
yarn add unexpected
bun add unexpected
```

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 13.2.1 |
| Published | 2023-07-29 |
| First published | 2013-04-17 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 8 |
| Unpacked size | 3.2 MB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 368 |
| Author | Sune Sloth Simonsen |
| Maintainers | sunesimonsen, papandreou, alexjeffburke, gustavnikolaj, joelmukuthu, munter |
| Keywords | assertion, test, assert |

## Links

- npm: https://www.npmjs.com/package/unexpected
- Repository: https://github.com/unexpectedjs/unexpected
- Homepage: https://github.com/unexpectedjs/unexpected#readme
- Issues: https://github.com/unexpectedjs/unexpected/issues
- npm.io page: https://npm.io/package/unexpected

## Dependencies (8)

- [diff](https://npm.io/package/diff.md) ^5.0.0
- [ukkonen](https://npm.io/package/ukkonen.md) ^2.1.0
- [magicpen](https://npm.io/package/magicpen.md) ^6.2.4
- [array-changes](https://npm.io/package/array-changes.md) 3.0.1
- [detect-indent](https://npm.io/package/detect-indent.md) 3.0.1
- [array-changes-async](https://npm.io/package/array-changes-async.md) 3.0.1
- [unexpected-bluebird](https://npm.io/package/unexpected-bluebird.md) 2.9.34-longstack2
- [greedy-interval-packer](https://npm.io/package/greedy-interval-packer.md) 1.2.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
- [@ethereum-waffle/mock-contract](https://npm.io/package/@ethereum-waffle/mock-contract.md) — 40.0K weekly downloads
- [aws-elasticsearch-connector](https://npm.io/package/aws-elasticsearch-connector.md) — 37.4K weekly downloads

## Recent versions

- 13.2.1 (latest) — 2023-07-29
- 11.0.0-4 (beta) — 2019-01-02
- 12.0.5 — 2023-07-29
- 13.2.0 — 2023-07-20
- 13.1.0 — 2022-12-23
- 13.0.1 — 2022-08-22
- 13.0.0 — 2022-04-26
- 12.0.4 — 2022-02-21
- 12.0.3 — 2021-05-13
- 12.0.2 — 2021-05-07
- 12.0.1 — 2021-04-29
- 12.0.0 — 2020-11-19
- 11.15.1 — 2020-11-18
- 11.15.0 — 2020-09-10
- 11.14.0 — 2020-03-24
- … 315 more at https://npm.io/package/unexpected/versions

## README

# Unexpected

Extensible BDD assertion toolkit

[![NPM version](https://badge.fury.io/js/unexpected.svg)](http://badge.fury.io/js/unexpected)
[![Build Status](https://github.com/unexpectedjs/unexpected/workflows/Tests/badge.svg)](https://github.com/unexpectedjs/unexpected/actions)
[![Coverage Status](https://coveralls.io/repos/unexpectedjs/unexpected/badge.svg)](https://coveralls.io/r/unexpectedjs/unexpected)
[![Gitter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/unexpectedjs/unexpected?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)
[![Github](https://img.shields.io/github/stars/unexpectedjs/unexpected.svg?label=Star&maxAge=2592000&style=flat)](https://github.com/unexpectedjs/unexpected)
[![BrowserStack Status](https://www.browserstack.com/automate/badge.svg?badge_key=cjVWSDFIaERKWVdxc2s5bStaY08vMUFwbW1NbTdzZHJmVXBCUjBlemo3Yz0tLU5iL3I0L3Z4elVhZjBTbWtvbmpHRnc9PQ==--692805fea09bec4c4ea7c898fa9208a0fa61283e)](https://www.browserstack.com/automate/public-build/cjVWSDFIaERKWVdxc2s5bStaY08vMUFwbW1NbTdzZHJmVXBCUjBlemo3Yz0tLU5iL3I0L3Z4elVhZjBTbWtvbmpHRnc9PQ==--692805fea09bec4c4ea7c898fa9208a0fa61283e)

Read [the documentation](https://unexpected.js.org/).

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