From 94c177512eb033715254b1bbec75c89da2ab112f Mon Sep 17 00:00:00 2001 From: steven Date: Mon, 3 Apr 2023 10:30:12 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20CI=E6=B5=8B=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Example/testHotUpdate/.detoxrc.js | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/Example/testHotUpdate/.detoxrc.js b/Example/testHotUpdate/.detoxrc.js index 9bb4c27..9bc40d1 100644 --- a/Example/testHotUpdate/.detoxrc.js +++ b/Example/testHotUpdate/.detoxrc.js @@ -1,12 +1,19 @@ /** @type {Detox.DetoxConfig} */ module.exports = { + logger: { + level: process.env.CI ? 'debug' : undefined, + }, testRunner: { args: { - $0: 'jest', 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: {