From 5cd48652b54d3719dc9e5402c4e9581faa2e937c Mon Sep 17 00:00:00 2001 From: zhenyuWang <13641039885@163.com> Date: Sat, 27 Jan 2024 09:03:32 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E6=94=BE=E5=BC=80=20getElementById=20?= =?UTF-8?q?=E5=85=A5=E5=8F=A3=EF=BC=8C=E5=B9=B6=E4=BC=98=E5=8C=96=E6=B5=8B?= =?UTF-8?q?=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../get-element-by-id-multiple-root-node.test.js | 6 ------ pages/API/get-element-by-id/get-element-by-id.test.js | 6 ------ pages/tabBar/API.uvue | 2 +- 3 files changed, 1 insertion(+), 13 deletions(-) diff --git a/pages/API/get-element-by-id/get-element-by-id-multiple-root-node.test.js b/pages/API/get-element-by-id/get-element-by-id-multiple-root-node.test.js index 304c62a9..c8126a19 100644 --- a/pages/API/get-element-by-id/get-element-by-id-multiple-root-node.test.js +++ b/pages/API/get-element-by-id/get-element-by-id-multiple-root-node.test.js @@ -3,12 +3,6 @@ const PAGE_PATH = let page; describe("getElementByIdForMultipleRootNode", () => { - if (process.env.uniTestPlatformInfo.indexOf('web') > -1) { - it('dummyTest', () => { - expect(1).toBe(1) - }) - return - } beforeAll(async () => { page = await program.reLaunch(PAGE_PATH); await page.waitFor('view'); diff --git a/pages/API/get-element-by-id/get-element-by-id.test.js b/pages/API/get-element-by-id/get-element-by-id.test.js index dc2f0f00..a04f1b1d 100644 --- a/pages/API/get-element-by-id/get-element-by-id.test.js +++ b/pages/API/get-element-by-id/get-element-by-id.test.js @@ -2,12 +2,6 @@ const PAGE_PATH = "/pages/API/get-element-by-id/get-element-by-id"; let page; describe("getElementById", () => { - if (process.env.uniTestPlatformInfo.indexOf('web') > -1) { - it('dummyTest', () => { - expect(1).toBe(1) - }) - return - } beforeAll(async () => { page = await program.reLaunch(PAGE_PATH); await page.waitFor('view'); diff --git a/pages/tabBar/API.uvue b/pages/tabBar/API.uvue index cf65ef87..f18c5af0 100644 --- a/pages/tabBar/API.uvue +++ b/pages/tabBar/API.uvue @@ -144,12 +144,12 @@ // url: "intersection-observer", // enable: false // }, - // #ifdef APP { name: 'element元素', url: 'get-element-by-id', api: ["getElementById"], }, + // #ifdef APP { name: 'element draw', url: 'element-draw', -- GitLab