From 93345149734f415f8ea88d126d1fd790f09aa231 Mon Sep 17 00:00:00 2001 From: mehaotian <490272692@qq.com> Date: Fri, 6 Dec 2024 17:30:07 +0800 Subject: [PATCH] =?UTF-8?q?update:=20=E5=9B=9E=E9=80=80=E9=94=99=E8=AF=AF?= =?UTF-8?q?=E6=8F=90=E4=BA=A4=E7=9A=84=E6=B5=8B=E8=AF=95=E4=BE=8B=E9=85=8D?= =?UTF-8?q?=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- env.js | 9 +++++---- jest.config.js | 2 +- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/env.js b/env.js index 355a9ed6..cfd2db5f 100644 --- a/env.js +++ b/env.js @@ -1,3 +1,4 @@ +// 自动化测试 module.exports = { "is-custom-runtime": false, "compile": true, @@ -28,11 +29,11 @@ module.exports = { "executablePath": "" }, "uni-app-x": { - "version": "/Applications/HBuilderX-Dev.app/Contents/HBuilderX/plugins/uniappx-launcher/base/version.txt", + "version": "/Applications/HBuilderX-Alpha.app/Contents/HBuilderX/plugins/uniappx-launcher/base/version.txt", "android": { - "id": "4fa6954", - "executablePath": "/Applications/HBuilderX-Dev.app/Contents/HBuilderX/plugins/uniappx-launcher/base/android_base.apk" + "id": "emulator-5554", + "executablePath": "/Applications/HBuilderX-Alpha.app/Contents/HBuilderX/plugins/uniappx-launcher/base/android_base.apk" } } } -} \ No newline at end of file +} diff --git a/jest.config.js b/jest.config.js index 78759275..fd80b0b9 100644 --- a/jest.config.js +++ b/jest.config.js @@ -6,7 +6,7 @@ module.exports = { watchPathIgnorePatterns: ['/node_modules/', '/dist/', '/.git/'], moduleFileExtensions: ['js', 'json'], rootDir: __dirname, - testMatch: ["/pages/API/report/report.test.js"], + testMatch: ["/pages/**/*test.[jt]s?(x)"], testPathIgnorePatterns: [ '/node_modules/', ], -- GitLab