https://github.com/albertfdp/unexpected-jest-snapshot
Plugin for unexpected to assert jest snapshots
https://github.com/albertfdp/unexpected-jest-snapshot
jest snapshot snapshot-testing unexpected
Last synced: about 2 months ago
JSON representation
Plugin for unexpected to assert jest snapshots
- Host: GitHub
- URL: https://github.com/albertfdp/unexpected-jest-snapshot
- Owner: albertfdp
- License: mit
- Created: 2017-01-21T15:22:39.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-01-21T15:59:17.000Z (over 8 years ago)
- Last Synced: 2025-03-11T10:05:03.666Z (2 months ago)
- Topics: jest, snapshot, snapshot-testing, unexpected
- Language: JavaScript
- Size: 64.5 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# unexpected-jest-snapshot
This module extends the [unexpected](https://github.com/unexpectedjs/unexpected)
assertion library with integration with [jest](https://facebook.github.io/jest/)
snapshot testing.[](http://badge.fury.io/js/unexpected-jest-snapshot)
[](https://travis-ci.org/albertfdp/unexpected-jest-snapshot)
## How to use it
### Node
Install it with npm:
```
$ npm install unexpected jest unexpected-jest-snapshot
```Then:
```javascript
const expect = require('unexpected').clone();
expect.use(require('unexpected-jest-snapshot'));
```