From 1e42363187c108a5e6db480ff1480505321bfdc0 Mon Sep 17 00:00:00 2001 From: lizhongyi Date: Tue, 23 Apr 2024 16:59:51 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4get-battery-info=20iOS?= =?UTF-8?q?=E8=87=AA=E5=8A=A8=E5=8C=96=E6=B5=8B=E8=AF=95=E4=BE=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit (cherry picked from commit f1002a2f09390110d64631e5aeda12ce0542efc2) --- pages/API/get-battery-info/get-battery-info.test.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pages/API/get-battery-info/get-battery-info.test.js b/pages/API/get-battery-info/get-battery-info.test.js index 8222c2b9..fd832b46 100644 --- a/pages/API/get-battery-info/get-battery-info.test.js +++ b/pages/API/get-battery-info/get-battery-info.test.js @@ -7,6 +7,12 @@ describe('ExtApi-GetBatteryInfo', () => { }) return } + if (process.env.uniTestPlatformInfo.toLowerCase().startsWith('ios')) { + it('dummyTest', () => { + expect(1).toBe(1) + }) + return + } let page; let res; -- GitLab