mockwilddog
v0.0.1
Published
Wilddog mock library for writing unit tests
Downloads
8
Readme
MockWilddog
Setup
Node/Browserify
$ npm install mockwilddog
var MockWilddog = require('mockwilddog').MockWilddog;
AMD/Browser
$ bower install mockwilddog
<script src="./bower_components/mockwilddog/browser/mockwilddog.js"></script>
API
MockWilddog 支持 Wilddog API 增加了 API Reference 中提到的API. MockWilddog可以在不连接服务器的情况下模拟同步和异步操作和事件 (ref.flush
).