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

split test

上级 0a9b8195
......@@ -429,7 +429,7 @@ return (function(port) {
// })
window.addEventListener('unload', function(e) {
// XXX only 1 event can be emitted here???
Wechaty.emit('unload', e)
Wechaty.emit('unload', String(e))
// Wechaty.slog('emit unload')
// Wechaty.emit('logout', e)
// Wechaty.slog('emit logout')
......
......@@ -144,9 +144,11 @@ test('Browser session save & load', function(t) {
, head: HEAD
, sessionFile: PROFILE
})
t.pass('re-new Browser')
yield b.init()
t.pass('re-init Browser')
yield b.open()
t.pass('re-new/init/open Browser')
t.pass('re-open Browser')
yield b.loadSession()
t.pass('loadSession for new instance of Browser')
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册