Sinon Tutorial: JavaScript Testing with Mocks, Spies & Stubs
March 24, 2016This article was peer reviewed by Mark Brown and MarcTowler. Thanks to all of SitePoint’s peer reviewers for making SitePoint content the best it can be! One of the biggest stumbling blocks when writing unit tests is what to do when you have code that’s non-trivial. [author_more] In real life projects, code...
Recent Comments