From bd10915fb05aa6de1fa5255aa3970fbad01eb130 Mon Sep 17 00:00:00 2001 From: zhenyuWang <13641039885@163.com> Date: Thu, 17 Aug 2023 22:51:54 +0800 Subject: [PATCH] test(API): navigator --- pages.json | 1 - pages/API/navigator/navigator.test.js | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/pages.json b/pages.json index 0aaff01e..238000e2 100644 --- a/pages.json +++ b/pages.json @@ -207,7 +207,6 @@ "navigationBarTitleText": "设置导航条颜色" } }, - { "path": "pages/API/navigator/new-page/new-page-1", "style": { diff --git a/pages/API/navigator/navigator.test.js b/pages/API/navigator/navigator.test.js index 51da0378..45c4efc0 100644 --- a/pages/API/navigator/navigator.test.js +++ b/pages/API/navigator/navigator.test.js @@ -8,6 +8,7 @@ describe('navigator', () => { let lifeCycleNum afterAll(async () => { + page = await program.reLaunch(CURRENT_PAGE_PATH) const resetLifecycleNum = 1100 await page.callMethod('setLifeCycleNum', resetLifecycleNum) lifeCycleNum = await page.callMethod('getLifeCycleNum') -- GitLab