0.0.3 • Published 7 years ago

storymock v0.0.3

Weekly downloads
82
License
MIT
Repository
github
Last release
7 years ago

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