Hacker News new | ask | show | jobs
by analyst74 3624 days ago
If you use shallow render for your unit tests, Enzyme is much much better than Test Utilities. Just to name a few reasons:

- better event simulation

- easier to update prop

- allow setting and getting state

- easier to refresh after triggering changes

- comprehensive selector support