HarveyD / react-component-library

A project skeleton to get your very own React Component Library up and running using Rollup, Typescript, SASS + Storybook
https://blog.harveydelaney.com/creating-your-own-react-component-library/
MIT License
790 stars 167 forks source link

How we can use Enzyme rather than React Testing Library? #15

Closed mnlbox closed 4 years ago

mnlbox commented 4 years ago

Hi @HarveyD

How we can use Enzyme rather than React Testing Library in this repo? Can you guide me?

HarveyD commented 4 years ago

Follow the setup instructions outlined: https://enzymejs.github.io/enzyme/docs/installation/, update your tests to use enzyme and remove react-testing-library from the component library dependencies.