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

Merge branch 'master' of github.com:Chatie/wechaty

...@@ -102,7 +102,7 @@ ...@@ -102,7 +102,7 @@
"brolog": "^1.2.0", "brolog": "^1.2.0",
"hot-import": "^0.1.0", "hot-import": "^0.1.0",
"mime": "^2.2.0", "mime": "^2.2.0",
"puppeteer": "^1.1.1", "puppeteer": "^1.2.0",
"raven": "^2.2.0", "raven": "^2.2.0",
"read-pkg-up": "^3.0.0", "read-pkg-up": "^3.0.0",
"request": "^2.83.0", "request": "^2.83.0",
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
*/ */
import { spawn } from 'child_process' import { spawn } from 'child_process'
const MAX_RETRY_NUM = 3 const MAX_RETRY_NUM = 5
async function main(): Promise<number> { async function main(): Promise<number> {
console.log('Safe Test: starting...') console.log('Safe Test: starting...')
......
...@@ -54,10 +54,14 @@ test('plainText()', async t => { ...@@ -54,10 +54,14 @@ test('plainText()', async t => {
test('digestEmoji()', async t => { test('digestEmoji()', async t => {
const EMOJI_XML = [ const EMOJI_XML = [
'<img class="emoji emoji1f4a4" text="[流汗]_web" src="/zh_CN/htmledition/v2/images/spacer.gif" />', '<img class="emoji emoji1f4a4" text="[流汗]_web" src="/zh_CN/htmledition/v2/images/spacer.gif" />',
'<img class="qqemoji qqemoji13" text="[呲牙]_web" src="/zh_CN/htmledition/v2/images/spacer.gif" />',
'<img class="emoji emoji1f44d" text="_web" src="/zh_CN/htmledition/v2/images/spacer.gif" />',
'<span class="emoji emoji1f334"></span>', '<span class="emoji emoji1f334"></span>',
] ]
const EMOJI_AFTER_DIGEST = [ const EMOJI_AFTER_DIGEST = [
'[流汗]', '[流汗]',
'[呲牙]',
'',
'[emoji1f334]', '[emoji1f334]',
] ]
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册