3 ms·
Proxyquire - https://github.com/thlorenz/proxyquire https://github.com/thlorenz/proxyquire - is a nicer way to solve many of the problems that people tend to us
by madeofpalk 11y ago
Proxyquire - https://github.com/thlorenz/proxyquire https://github.com/thlorenz/proxyquire - is a nicer way to solve many of the problems that people tend to use rewire for.
We use it to stub out imports in our unit tests and find it very easy.