1
0
Code Issues Pull Requests Packages Projects Releases Wiki Activity GitHub Gitee

feat: CI测试

This commit is contained in:
steven 2023-04-03 10:30:12 +08:00
parent a16a73e754
commit 94c177512e

View File

@ -1,12 +1,19 @@
/** @type {Detox.DetoxConfig} */ /** @type {Detox.DetoxConfig} */
module.exports = { module.exports = {
logger: {
level: process.env.CI ? 'debug' : undefined,
},
testRunner: { testRunner: {
args: { args: {
$0: 'jest',
config: 'e2e/jest.config.js', config: 'e2e/jest.config.js',
maxWorkers: process.env.CI ? 2 : undefined,
_: ['e2e'],
}, },
jest: { },
setupTimeout: 240000, artifacts: {
plugins: {
log: process.env.CI ? 'failing' : undefined,
screenshot: process.env.CI ? 'failing' : undefined,
}, },
}, },
apps: { apps: {