From fbdb4f65f9d8736bdfbc6d2441b54b1e8a653450 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E4=BA=9A=E7=90=AA?= Date: Fri, 10 May 2024 13:22:35 +0800 Subject: [PATCH] =?UTF-8?q?test:=20web=E7=AB=AF=E5=90=AF=E7=94=A8=E8=AE=BE?= =?UTF-8?q?=E7=BD=AEbackgroundColorContent=E6=B5=8B=E8=AF=95=E4=BE=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages.json | 2 -- .../set-page-backgroundColorContent.test.js | 9 +-------- 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/pages.json b/pages.json index 8f6fcb89..86d79ec9 100644 --- a/pages.json +++ b/pages.json @@ -396,14 +396,12 @@ "navigationBarTitleText": "设置导航条标题" } }, - // #ifdef APP { "path": "pages/API/set-page-backgroundColorContent/set-page-backgroundColorContent", "style": { "navigationBarTitleText": "设置页面容器背景色" } }, - // #endif { "path": "pages/API/navigator/new-page/new-page-1", "style": { diff --git a/pages/API/set-page-backgroundColorContent/set-page-backgroundColorContent.test.js b/pages/API/set-page-backgroundColorContent/set-page-backgroundColorContent.test.js index 60598cd6..6a33bdda 100644 --- a/pages/API/set-page-backgroundColorContent/set-page-backgroundColorContent.test.js +++ b/pages/API/set-page-backgroundColorContent/set-page-backgroundColorContent.test.js @@ -1,11 +1,4 @@ -describe('set-page-backgroundColorContent', () => { - if (process.env.uniTestPlatformInfo.startsWith('web')) { - it('dummyTest', async () => { - expect(1).toBe(1) - }) - return - } - +describe('set-page-backgroundColorContent', () => { let page beforeAll(async () => { page = await program.reLaunch('/pages/API/set-page-backgroundColorContent/set-page-backgroundColorContent') -- GitLab