enzyme-context-patch

0.0.9 • Public • Published

Enzyme, Patched for context

This is a supplemental package for enzyme which fixes the Context issues in React 16. These context issues have been fixed in Enzyme, but are taking forever to be published to registries. See https://github.com/airbnb/enzyme/pull/1513 for more information.

This package sits alongside enzyme and patches the package in the postinstall hook. No changes are necessary once installed.

Installation

yarn add --dev enzyme-context-patch
npm install --save-dev enzyme-context-patch

Removal

Once enzyme updates you should be able to simply remove this package with:

yarn remove enzyme-context-patch
npm uninstall --save-dev enzyme-context-patch

Readme

Keywords

none

Package Sidebar

Install

npm i enzyme-context-patch

Weekly Downloads

31

Version

0.0.9

License

MIT

Unpacked Size

2.36 kB

Total Files

5

Last publish

Collaborators

  • kevingrandon