smock

SMock: Simple Mock for javascript

Sadly, this package has no readme.