diff --git a/pages/API/resize-observer/resize-observer.test.js b/pages/API/resize-observer/resize-observer.test.js index 74b7124e2bfa33e2c7caa88f73adf41bdfe4aadf..3c9b46d9b34656e05886659c7cff43ce676233e4 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 () => {