Opal-Estate-Pro/node_modules/event-stream/test/helper/index.js
2019-09-13 11:27:52 +07:00

13 lines
235 B
JavaScript

var tape = require('tape')
module.exports = function (m) {
if(m.parent) return
for(var name in m.exports) {
tape(name, function (t) {
console.log('start', name)
t.done = t.end
m.exports[name](t)
})
}
}