0 Forks
5 Stars
5 Watchers

cjs-mock

'Immutable' NodeJS module mocking (CJS) for unit testing purposes. Similar to proxyquire, but simpler and safer. Sponsored by https://aeroview.io

How to download and setup cjs-mock

Open terminal and run command
git clone https://github.com/mhweiner/cjs-mock.git
git clone is used to create a copy or clone of cjs-mock repositories. You pass git clone a repository URL.
it supports a few different network protocols and corresponding URL formats.

Also you may download zip file with cjs-mock https://github.com/mhweiner/cjs-mock/archive/master.zip

Or simply clone cjs-mock with SSH
[email protected]:mhweiner/cjs-mock.git

If you have some problems with cjs-mock

You may open issue on cjs-mock support forum (system) here: https://github.com/mhweiner/cjs-mock/issues