提交 10ef86c5 编写于 作者: Huan (李卓桓)'s avatar Huan (李卓桓)

check typed-emitter in pack testing

上级 bd53a488
......@@ -59,9 +59,10 @@ async function main () {
await Promise.all(
botList.map(bot => bot.start()),
)
botList.forEach(
bot => console.info(`Wechaty v${bot.version()} smoking test passed.`),
)
for (const bot of botList) {
console.info(`Wechaty v${bot.version()} smoking test passed.`)
console.info('listenerCount(message) is', bot.listenerCount('message'))
}
} catch (e) {
console.error(e)
// Error!
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册