Find Similar Packages for @wojtekmaj/enzyme-adapter-react-17
@wojtekmaj/enzyme-adapter-react-17Similar Packages:
Npm Package Weekly Downloads Trend
3 Years
🌟 Show real-time usage chart on @wojtekmaj/enzyme-adapter-react-17's README.md, just copy the code below.
## Usage Trend
[![Usage Trend of @wojtekmaj/enzyme-adapter-react-17](https://npm-compare.com/img/npm-trend/THREE_YEARS/@wojtekmaj/enzyme-adapter-react-17.png)](https://npm-compare.com/@wojtekmaj/enzyme-adapter-react-17#timeRange=THREE_YEARS)
Cumulative GitHub Star Trend
Stat Detail
Package
Downloads
Stars
Size
Issues
Publish
License
@wojtekmaj/enzyme-adapter-react-17459,479
297258 kB1-MIT
README for @wojtekmaj/enzyme-adapter-react-17

npm downloads CI

@wojtekmaj/enzyme-adapter-react-17

Unofficial adapter for React 17 for Enzyme.

Installation

npm install --save-dev @wojtekmaj/enzyme-adapter-react-17

or, if you're using Yarn:

yarn add --dev @wojtekmaj/enzyme-adapter-react-17

Configuration

Finally, you need to configure enzyme to use the adapter you want it to use. To do this, you can use the top level configure(...) API.

import Enzyme from 'enzyme';
import Adapter from '@wojtekmaj/enzyme-adapter-react-17';

Enzyme.configure({ adapter: new Adapter() });