ninos:AVA的简单测试 源码
尼诺斯 简单存根/间谍 例 建立 const test = require ( 'ninos' ) ( require ( 'ava' ) ) ; t.context.stub() const EventEmitter = require ( 'events' ) ; test ( 'EventEmitter' , t => { let e = new EventEmitter ( ) ; let s = t . context . stub ( ) ; e . on ( 'event' , s ) ; e . emit ( 'event' ) ; t . is ( s
文件列表
ninos-master.zip
(预估有个7文件)
ninos-master
index.js
2KB
test.js
2KB
.flowconfig
58B
package.json
554B
.gitignore
19B
README.md
4KB
yarn.lock
133KB
暂无评论