diff --git a/pages/API/get-current-pages/set-page-style-disable-pull-down-refresh.test.js b/pages/API/get-current-pages/set-page-style-disable-pull-down-refresh.test.js index 0753c3b800bd64e86e473a04f8d1f6c4cccaceaf..22f5f225e651fc2eb2f2b52a604ce40d58707afe 100644 --- a/pages/API/get-current-pages/set-page-style-disable-pull-down-refresh.test.js +++ b/pages/API/get-current-pages/set-page-style-disable-pull-down-refresh.test.js @@ -1,7 +1,7 @@ const PAGE_PATH = '/pages/API/get-current-pages/set-page-style-disable-pull-down-refresh' describe('getCurrentPages', () => { - if (process.env.uniTestPlatformInfo.startsWith('IOS')) { + if (process.env.uniTestPlatformInfo.toLowerCase().startsWith('ios')) { it('not-support', async () => { expect(1).toBe(1) }) @@ -42,4 +42,4 @@ describe('getCurrentPages', () => { expect(image2).toSaveImageSnapshot(); }) -}) +})