Skip to content

Unofficial adapter for React 17 for Enzyme (forked for editing react dependency)

License

Notifications You must be signed in to change notification settings

mahpooya/enzyme-adapter-react-17

 
 

Repository files navigation

npm downloads CI

@mahpooya/enzyme-adapter-react-17

Unofficial adapter for React 17 for Enzyme (forked for editing react dependency)

Installation

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

or, if you're using Yarn:

yarn add --dev @mahpooya/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 '@mahpooya/enzyme-adapter-react-17';

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

About

Unofficial adapter for React 17 for Enzyme (forked for editing react dependency)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 99.9%
  • Other 0.1%