From bee1bb12dbc57107eeb1e8e7d6d89c65d4705507 Mon Sep 17 00:00:00 2001 From: zhenyuWang <13641039885@163.com> Date: Sat, 7 Dec 2024 16:33:33 +0800 Subject: [PATCH] =?UTF-8?q?test(UniResizeObserver):=20=E8=A7=84=E9=81=BF?= =?UTF-8?q?=E5=B0=8F=E7=A8=8B=E5=BA=8F=E6=B5=8B=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/API/resize-observer/resize-observer.test.js | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/pages/API/resize-observer/resize-observer.test.js b/pages/API/resize-observer/resize-observer.test.js index 74b7124e..3c9b46d9 100644 --- a/pages/API/resize-observer/resize-observer.test.js +++ b/pages/API/resize-observer/resize-observer.test.js @@ -1,5 +1,13 @@ -describe('api-resize-observer', () => { +const platformInfo = process.env.uniTestPlatformInfo.toLocaleLowerCase() +const isMP = platformInfo.startsWith('mp') +describe('api-resize-observer', () => { + if (isMP) { + it('skip mp', () => { + expect(1).toBe(1) + }) + return + } let page beforeAll(async () => { -- GitLab