Skip to content

buybrain/storymock

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Create scriptable mock objects easily

Resources

License

Stars

Watchers

Forks

Packages

No packages published