unexpected-enzyme

1.0.0-alpha.4 • Public • Published

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 git@github.com: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.

Readme

Keywords

none

Package Sidebar

Install

npm i unexpected-enzyme

Weekly Downloads

2

Version

1.0.0-alpha.4

License

MIT

Unpacked Size

17.3 kB

Total Files

4

Last publish

Collaborators

  • albertfdp
  • sunesimonsen