Entries for month: December 2015

Instructing Proxyquire To Ignore Nested Requires

JavaScript , Node.js 1 Comment »

When writing unit tests for Node.js applications, you can use the proxyquire npm module to override the modules pulled in by the file under test using require(), replacing them with your own.

Read more...