From 2a61dc901070df77797d92d7da706ae003a5fe76 Mon Sep 17 00:00:00 2001 From: mahaifeng Date: Thu, 12 Dec 2024 15:26:54 +0800 Subject: [PATCH] =?UTF-8?q?[file]=E4=BF=AE=E5=A4=8D=E8=87=AA=E5=8A=A8?= =?UTF-8?q?=E5=8C=96=E6=B5=8B=E8=AF=95=E5=A4=B1=E8=B4=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../get-file-system-manager/get-file-system-manager.test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/API/get-file-system-manager/get-file-system-manager.test.js b/pages/API/get-file-system-manager/get-file-system-manager.test.js index 573a2017..1e34c0fa 100644 --- a/pages/API/get-file-system-manager/get-file-system-manager.test.js +++ b/pages/API/get-file-system-manager/get-file-system-manager.test.js @@ -374,7 +374,7 @@ describe('ExtApi-FileManagerTest', () => { let getFileInfoSize = await getData('getFileInfoSize') expect(getFileInfoSize).toEqual(5716) let getFileInfoDigest = await getData('getFileInfoDigest') - expect(getFileInfoDigest).toEqual("486f75ea76625f8c103cac4bc9c49511") + expect(getFileInfoDigest).toEqual("5d8accb35bda875ca3726d18b020e474") // 切换为 sha1 await page.setData({ @@ -387,7 +387,7 @@ describe('ExtApi-FileManagerTest', () => { getFileInfoSize = await getData('getFileInfoSize') expect(getFileInfoSize).toEqual(5716) getFileInfoDigest = await getData('getFileInfoDigest') - expect(getFileInfoDigest).toEqual("1830169a16e7c860beff4a3b0975ba0b6f775f9e") + expect(getFileInfoDigest).toEqual("b48cf507b618974ee5b7d5449d8c1911e2d68245") // 测试不支持的摘要算法,期望返回错误 await page.setData({ -- GitLab