browserify >= v2 version of proxyquire. Mocks out browserify's require to allow stubbing out dependencies while testing. Read more