deployphp/node_modules/event-stream/test/helper/index.js

13 lines
235 B
JavaScript
Raw Normal View History

2023-01-10 15:49:41 +00:00
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)
})
}
}