express stub:为测试目的创建快速存根中间件
快递存根为测试目的创建快速存根中间件。与proxyquire得很好。安装$ npm install express-stub用法const stub = require ( 'express-stub' ) const express = require ( 'express' ) const app = express ( ) app . use ( stub ( ) ) app . listen ( )也可以看看执照
文件列表
express-stub-master.zip
(预估有个9文件)
express-stub-master
.gitignore
164B
.eslintrc
768B
package.json
633B
.travis.yml
152B
LICENSE
1KB
index.js
194B
test.js
200B
README.md
1KB
.editorconfig
207B
暂无评论