From a75ab70f0077fdc56a078b2972069d0288e60030 Mon Sep 17 00:00:00 2001 From: Anne_LXM Date: Mon, 14 Oct 2024 15:44:12 +0800 Subject: [PATCH] =?UTF-8?q?test(editor):=E8=B0=83=E6=95=B4=E6=B5=8B?= =?UTF-8?q?=E8=AF=95=E4=BE=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/component/editor/editor.test.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pages/component/editor/editor.test.js b/pages/component/editor/editor.test.js index 9a52ed7d..caf7d461 100644 --- a/pages/component/editor/editor.test.js +++ b/pages/component/editor/editor.test.js @@ -1,8 +1,7 @@ // uni-app自动化测试教程: uni-app自动化测试教程: https://uniapp.dcloud.net.cn/worktile/auto/hbuilderx-extension/ jest.setTimeout(30000); describe('editor.uvue', () => { - console.log('process.env',process.env) - if (!process.env.UNI_AUTOMATOR_APP_WEBVIEW || !process.env.uniTestPlatformInfo.startsWith('web')) { + if (!process.env.uniTestPlatformInfo.includes('web')) { it('app', () => { expect(1).toBe(1) }) -- GitLab