android节点下的appid,package,executablePath我都配置了,但是依旧启动了默认基座
module.exports = {
testTimeout: 10000,
reporters: [
'default'
],
watchPathIgnorePatterns: ['/node_modules/', '/dist/', '/.git/'],
moduleFileExtensions: ['js', 'json'],
rootDir: __dirname,
testMatch: ["<rootDir>/pages/**/*test.[jt]s?(x)", "<rootDir>/*pack/**/*test.[jt]s?(x)"],
testPathIgnorePatterns: ['/node_modules/'],
testEnvironmentOptions: {
compile: true,
"app-plus": { // 需要安装 HBuilderX
android: {
appid: "__UNI__A4BB50E", //自定义基座测试需配置manifest.json中的appid
package: "io.biquge", //自定义基座测试需配置Android包名
executablePath: "E:/book/unpackage/debug/android_debug.apk" // apk 目录或自定义调试基座包路径
},
ios: {
// uuid 必须配置,目前仅支持模拟器,可以(xcrun simctl list)查看要使用的模拟器 uuid
id: "",
executablePath: "HBuilderX/plugins/launcher/base/Pandora_simulator.app" // ipa 目录
}
}
}
}
0 个回复