mirror of
https://github.com/deployphp/action.git
synced 2024-11-27 14:09:01 +00:00
13 lines
235 B
JavaScript
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)
|
||
|
})
|
||
|
}
|
||
|
}
|