Gert Sønderby
1 min readAug 26, 2016

--

Good article! I would advise looking into Dave Brotherstone’s excellent unexpected-react plugin rather than fighting Chai like this, your headache will be smaller. Plus, unexpected also has a plugin that supports sinon organically. Get ready for meaningful diffs from a single assertion, extensibility as easy as a function call. :-)

--

--

Gert Sønderby

Senior developer for Orckestra, a massive nerd about far too many subjects, and always, always trying to become a better person.