wechaty-puppet-wechat4u
Version:
Wechat4u Puppet for Wechaty
23 lines • 687 B
JavaScript
import { test } from 'tstest';
import { PuppetWechat4u } from './puppet-wechat4u.js';
class PuppetWechat4uTest extends PuppetWechat4u {
}
/**
* Huan(202110): skip this test for now
*/
test.skip('PuppetWechat4u restart without problem', async (t) => {
const puppet = new PuppetWechat4uTest();
try {
for (let i = 0; i < 3; i++) {
await puppet.start();
await puppet.stop();
t.pass('start/stop-ed at #' + i);
}
t.pass('PuppetWechat4u() start/restart successed.');
}
catch (e) {
t.fail(e);
}
});
//# sourceMappingURL=puppet-wechat4u.spec.js.map