From bc429fbc240922e3157d8f17bd449804c5a41ee4 Mon Sep 17 00:00:00 2001 From: wangyaqi Date: Sat, 7 Dec 2024 21:26:38 +0800 Subject: [PATCH] =?UTF-8?q?test:=20=E5=B1=8F=E8=94=BD=E5=B0=8F=E7=A8=8B?= =?UTF-8?q?=E5=BA=8F=E3=80=81web=20mapContext=E9=94=99=E8=AF=AF=E4=BF=A1?= =?UTF-8?q?=E6=81=AF=E6=B5=8B=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/component/map/map.test.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pages/component/map/map.test.js b/pages/component/map/map.test.js index f4b12b07..6ad22bf0 100644 --- a/pages/component/map/map.test.js +++ b/pages/component/map/map.test.js @@ -84,7 +84,9 @@ describe('web-map', () => { }}); const translateMarkerRes = await page.data('jestResult') expect(translateMarkerRes.animationEnd).toBeTruthy(); - expect(translateMarkerRes.translateMarkerMsg).toBe('translateMarker:ok'); + if (!isMP && !isWeb) { + expect(translateMarkerRes.translateMarkerMsg).toBe('translateMarker:ok'); + } }); -- GitLab