News for hackers. Stuff that matters.
Re:Idiomatic React Testing Patterns by analyst74 on Wednesday July 13, 2016 @03:04PM (#12088760)
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

There are no comments on this comment yet.