From 5e2fd4acfc281da8d72b358f5c3eb157522a4417 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E4=BA=9A=E7=90=AA?= Date: Thu, 30 May 2024 19:21:50 +0800 Subject: [PATCH] =?UTF-8?q?test:=20=E4=B8=B4=E6=97=B6=E5=B1=8F=E8=94=BDiOS?= =?UTF-8?q?=E7=AB=AF=E9=83=A8=E5=88=86=E6=B5=8B=E8=AF=95=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- uni_modules/uts-tests/utssdk/JSON.uts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/uni_modules/uts-tests/utssdk/JSON.uts b/uni_modules/uts-tests/utssdk/JSON.uts index 02d6dd8..1810ee4 100644 --- a/uni_modules/uts-tests/utssdk/JSON.uts +++ b/uni_modules/uts-tests/utssdk/JSON.uts @@ -326,7 +326,9 @@ export function testJSON() : Result { num: number, } const map = JSON.parse>(`{"a": {"num": 1}}`) + // #ifndef APP-IOS expect(map instanceof Map).toEqual(true) + // #endif expect(map?.get('a')?.num).toEqual(1) }) -- GitLab