Friday 10 February 2017

Having a hard time understanding sinon sandbox

Hey all!I've been in the nodejs community for a few years now. Typically, the type of work I do doesn't lend itself to testing -- its mostly fast paced MVP development.I was looking at this article: http://ift.tt/1Y5eqxc and it looks like he's overriding the fs and request modules. Does the sinon sandbox globally override modules? How does that technically work?Thanks!

Submitted February 10, 2017 at 02:38PM by Noderly

No comments:

Post a Comment