没有合适的资源?快使用搜索试试~ 我知道了~
hubot-test-helper:测试Hubot脚本的助手
共33个文件
js:23个
yml:2个
coffee:2个
需积分: 5 0 下载量 118 浏览量
2021-04-29
14:17:27
上传
评论
收藏 17KB ZIP 举报
温馨提示
Hubot测试助手 用于测试Hubot脚本的助手。 安装 npm install hubot-test-helper --save-dev 用法 如果您具有以下hubot脚本: module . exports = robot => robot . respond ( / hi $ / i , msg => msg . reply ( 'hi' ) ) 您可以像这样测试它: const Helper = require ( 'hubot-test-helper' ) ; // helper loads all scripts passed a directory const helper = new Helper ( './scripts' ) ; // helper loads a specific script if it's a file const scriptHel
资源推荐
资源详情
资源评论
收起资源包目录
hubot-test-helper-master.zip (33个子文件)
hubot-test-helper-master
Dockerfile 37B
.gitignore 30B
README.md 7KB
test
message-room_test.js 929B
httpd-world_test.js 711B
hello-world_test.coffee 636B
private-message_test.js 893B
hello-world_test.js 844B
hello-world-listener_test.js 765B
scripts
httpd-world.js 148B
enter-leave.js 208B
user-params.js 163B
hello-world.js 109B
private-message.js 150B
bye.js 111B
hello-world.coffee 111B
hello-world-listener.js 148B
message-room.js 212B
mock-response.js 210B
events.js 266B
custom-text-message.js 166B
custom-text-message_test.js 790B
events_test.js 942B
mock-response_test.js 1KB
load-multiple-scripts_test.js 813B
user-params_test.js 887B
enter-leave_test.js 714B
docker-compose.yml 283B
LICENSE 1KB
package.json 736B
src
index.js 4KB
.npmignore 0B
.travis.yml 291B
共 33 条
- 1
资源评论
Compass宁
- 粉丝: 30
- 资源: 4643
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功