diff --git a/package.json b/package.json index a12755abfc88786c98d24fd3b4a68cea3b4acd1e..bbc84584d1e3e07ead50b4f3c53f46b55d0d543d 100644 --- a/package.json +++ b/package.json @@ -102,7 +102,7 @@ "brolog": "^1.2.0", "hot-import": "^0.1.0", "mime": "^2.2.0", - "puppeteer": "^1.1.1", + "puppeteer": "^1.2.0", "raven": "^2.2.0", "read-pkg-up": "^3.0.0", "request": "^2.83.0", diff --git a/scripts/safe-unit-test.ts b/scripts/safe-unit-test.ts index 31996c4a708d98c3bbe6ef411009889065631580..026fe0007c02c97cc24b7adb856de09076ba3817 100644 --- a/scripts/safe-unit-test.ts +++ b/scripts/safe-unit-test.ts @@ -8,7 +8,7 @@ */ import { spawn } from 'child_process' -const MAX_RETRY_NUM = 3 +const MAX_RETRY_NUM = 5 async function main(): Promise { console.log('Safe Test: starting...') diff --git a/src/misc.spec.ts b/src/misc.spec.ts index b66226962983ecfbeb7d5f55e14d239be575d212..672ccdcb735c3a54a294b05d6635f0e23f6a434f 100755 --- a/src/misc.spec.ts +++ b/src/misc.spec.ts @@ -54,10 +54,14 @@ test('plainText()', async t => { test('digestEmoji()', async t => { const EMOJI_XML = [ '', + '', + '', '', ] const EMOJI_AFTER_DIGEST = [ '[流汗]', + '[呲牙]', + '', '[emoji1f334]', ]