4 ms·
Enzyme v3 released
- amk_ 9y agoThe adapter system is super interesting: https://github.com/airbnb/enzyme/blob/master/docs/guides/migration-from-2-to-3.md#configuring-your-adapter https://github.com/airbnb/enzyme/blob/master/docs/guides/mig... This might be the way to go for complex dependencies like React where APIs move in and out of the main package, or could be implemented by third parties (like how Preact can supply render and createElement in a mostly-compatible way). It also makes clear that semver dependencies in package.json are insufficient to describe the library combinations that work in the main package.
- msoad 9y agoEnzyme + Jest snapshots are the best UI testing system that I've ever used!
- mplewis 9y agoEnzyme is wonderful software. It makes it so much easier to test my React apps.