From 47aec0582350db5c7c88a85e6da6f0a23fa4c67f Mon Sep 17 00:00:00 2001 From: zhenyuWang <13641039885@163.com> Date: Tue, 24 Sep 2024 13:19:57 +0800 Subject: [PATCH] =?UTF-8?q?refactor(getCurrentPages):=20=E7=A7=BB=E9=99=A4?= =?UTF-8?q?=20eventBus?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../get-current-pages.test.js | 4 --- .../get-current-pages/get-current-pages.uvue | 34 ------------------- 2 files changed, 38 deletions(-) diff --git a/pages/API/get-current-pages/get-current-pages.test.js b/pages/API/get-current-pages/get-current-pages.test.js index fe811342..227cd677 100644 --- a/pages/API/get-current-pages/get-current-pages.test.js +++ b/pages/API/get-current-pages/get-current-pages.test.js @@ -66,10 +66,6 @@ describe('getCurrentPages', () => { const res = await page.callMethod('check$page') expect(res).toBe(true) }) - it('eventBus', async () => { - const res = await page.callMethod('checkEventBus') - expect(res).toBe(true) - }) it('getParentPage', async () => { const res = await page.callMethod('checkGetParentPage') expect(res).toBe(true) diff --git a/pages/API/get-current-pages/get-current-pages.uvue b/pages/API/get-current-pages/get-current-pages.uvue index a3179829..0fe60f32 100644 --- a/pages/API/get-current-pages/get-current-pages.uvue +++ b/pages/API/get-current-pages/get-current-pages.uvue @@ -13,7 +13,6 @@ -