diff --git a/pages/component/map/map.test.js b/pages/component/map/map.test.js index f4b12b075f9fa7019ce4d612a3525be0cb6f4133..6ad22bf0a76c6da162d5040f99d909a7e47380d9 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'); + } });