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. :-)