alexnitta.com
Testing state mutations with Enzyme.js and wrapper.update()
When testing React components, I often reach for Enzyme.js, a library of testing utilities for React components developed by the team at Airbnb. It’s become a standard tool among React develo…