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 00f394f6dca72996712ef47d0f4a13bced1529ca..9f7802f468f6d7585dfc863ee8023e12a192a925 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 @@ -330,7 +330,7 @@ describe('ExtApi-FileManagerTest', () => { await btnReadFileButton.tap() await isDone() let readFileRet = await getData('readFileRet') - expect(readFileRet.length).toEqual(208544) + expect(readFileRet.length).toEqual(5716) let endStr = readFileRet.substring(readFileRet.length - 10) expect(endStr).toEqual("///////w==") @@ -919,7 +919,7 @@ describe('ExtApi-FileManagerTest', () => { expect(statsRet[2].stats.size).toEqual(10) expect(statsRet[4].path).toMatch(new RegExp('.*/a/m/3.txt$')) - expect(statsRet[4].stats.size).toEqual(156406) + expect(statsRet[4].stats.size).toEqual(4286) // 清理文件,避免影响其他测试用例