From b186354849d3213558062ab72bbbf68b4ad8be00 Mon Sep 17 00:00:00 2001 From: Huan LI Date: Wed, 11 Mar 2020 10:30:57 +0800 Subject: [PATCH] fix token mock --- src/io.spec.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/io.spec.ts b/src/io.spec.ts index 64800dfb..64db358d 100755 --- a/src/io.spec.ts +++ b/src/io.spec.ts @@ -7,7 +7,8 @@ import { Wechaty } from './wechaty' test('Io restart without problem', async t => { const io = new Io({ - token : 'mock token in wechaty/wechaty/src/io.spec.ts', + // token must not contain any white spaces + token : 'mock_token_in_wechaty/wechaty/src/io.spec.ts', wechaty : new Wechaty(), }) -- GitLab