Back to Overview
Article list for commonjs
Mocking, stubbing and strategies for dependency injection are often overly complex parts of the JavaScript test code we have to write. But they help us isolate the unit that we want to test. In this article I look at using proxyquire
and proxyquireify
.