Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Enzyme v3 released (airbnb.io)
53 points by markthethomas on Sept 26, 2017 | hide | past | favorite | 3 comments


The adapter system is super interesting: 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.


Enzyme + Jest snapshots are the best UI testing system that I've ever used!


Enzyme is wonderful software. It makes it so much easier to test my React apps.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: