-
Recent Posts
Archives
Categories
Meta
Tag Archives: monkey-patching
sinon vs rewire: when do I use which?
In node.js testing, there are 2 helper modules that I use often: sinon and rewire. Sinon allows you to monkey-patch functions, while rewire allows you to… monkey-patch functions. Both modules have other uses as well, but in this post I’m … Continue reading
Posted in JavaScript, node.js, software development, testing
Tagged javascript, monkey patch, monkey-patching, node.js, rewire, sinon, testing, unit test
1 Comment