colingo

colingo/mock

Load a module with it's require's mocked out

JavaScript
13
3
MIT License

The `mock` package is a testing utility for Node.js and browserify that allows developers to load a module while replacing its `require()` dependencies with custom mocks or stubs. It's designed for developers writing unit tests who need to isolate a module from its external dependencies, such as filesystem access or other modules

Total donated
Undistributed
Share with your subscribers:

Recipients

How the donated funds are distributed

Support the dependencies of colingo/mock

Account's avatar
tap-producing test harness for node and browsers
Account's avatar
browser-side require() the node way
Account's avatar
Test'em 'scripts! Javascript Unit testing made easy.

Support the repos that depend on this repository

Top contributors

Raynos's profile
Raynos
6 contributions

Recent events

Kivach works on the Obyte network, and therefore you can track all donations.

No events yet