@crossjs/enzyme-adapter-react-17
    TypeScript icon, indicating that this package has built-in type declarations

    0.3.2 • Public • Published

    @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
    

    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() });

    Install

    npm i @crossjs/enzyme-adapter-react-17

    DownloadsWeekly Downloads

    9

    Version

    0.3.2

    License

    MIT

    Unpacked Size

    251 kB

    Total Files

    21

    Last publish

    Collaborators

    • imliwenfu