storymock
v0.0.3
Published
Create scriptable mock objects easily
Downloads
6
Readme
storymock
A small library to make it very easy to create scriptable mock objects that expect a certain scenario of function calls and inputs and respond in a scripted manner.
Getting started
Install by running
npm install --save storymock
Examples
TODO: for now, have a look at the tests.
Running tests
Tests are written for nodeunit. Make sure nodeunit is installed by running
npm install -g nodeunit
Then, from the project root, run
nodeunit
License
MIT