Lately I’ve been writing a lot of UI in React and testing a lot of that code using Enzyme (running on Karma with Chai assertions). It’s a great combination, but I don’t think we (the JavaScript community) have got the idiom down yet. Continue reading “How to write clean React unit tests with Enzyme”