Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 9 days 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 (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2017-01-21T15:59:17.000Z (almost 8 years ago)
- Last Synced: 2024-10-10T03:04:36.486Z (29 days ago)
- Topics: jest, snapshot, snapshot-testing, unexpected
- Language: JavaScript
- Size: 64.5 KB
- Stars: 1
- Watchers: 2
- 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.[![NPM version](https://badge.fury.io/js/unexpected-jest-snapshot.svg)](http://badge.fury.io/js/unexpected-jest-snapshot)
[![Build Status](https://travis-ci.org/albertfdp/unexpected-jest-snapshot.svg?branch=master)](https://travis-ci.org/albertfdp/unexpected-jest-snapshot)![unexpected-jocker](http://i.giphy.com/qu7SYku81wy7S.gif)
## 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'));
```