Skip to content
This repository has been archived by the owner on Sep 5, 2021. It is now read-only.

albertfdp/unexpected-enzyme

Repository files navigation

unexpected-enzyme

🚧 Work in progress

Build Status

Installation

$ npm install unexpected unexpected-enzyme enzyme enzyme-adapter-react-16

with yarn

$ yarn add unexpected unexpected-enzyme enzyme enzyme-adapter-react-16

Setup

const unexpected = require('unexpected');
const unexpectedEnzyme = require('unexpected-enzyme');

const expect = unexpected.clone().use(unexpectedEnzyme);

Documentation

Find it here

Development

$ git clone [email protected]:albertfdp/unexpected-enzyme.git
$ cd unexpected-enzyme
$ yarn install # or npm install

Running tests

$ yarn test

Contributing

We welcome pull requests, bug reports, and extra test cases. If you find something that doesn't work as you believe it should, or where the output isn't as good as it could be, raise an issue!

Thanks

Huge thanks to @bruderstein for an awesome job with unexpected-react, which this project relies on internally. And to chai-enzyme as a great inspiration.