Skip to content

Move enzyme to peerDeps

Compare
Choose a tag to compare
@ericsoco ericsoco released this 02 Oct 16:45
· 53 commits to master since this release

Moves enzyme deps to peerDependencies to avoid errors with multiple Enzyme versions (e.g. Enzyme Internal Error: configured enzyme adapter did not inherit from the EnzymeAdapter base class).

Also renames enzyme adapter to enzyme-adapter-react-16 to align with Enzyme's published adapters.