|
@@ -29,7 +29,12 @@ function e2e() {
|
29
|
29
|
shellUtils.exec.kill(`detox-server`);
|
30
|
30
|
shellUtils.exec.exec(`./node_modules/.bin/detox-server > ./detox-server.log 2>&1`);
|
31
|
31
|
const detoxAppBuildPath = `ios/DerivedData/playground/Build/Products/${release ? 'Release' : 'Debug'}_Detox-iphonesimulator/playground.app`;
|
32
|
|
- shellUtils.exec.execSync(`detoxAppBuildPath="${detoxAppBuildPath}" BABEL_ENV=test ./node_modules/mocha/bin/mocha e2e --recursive --compilers js:babel-register`);
|
|
32
|
+ shellUtils.exec.execSync(`detoxAppBuildPath="${detoxAppBuildPath}"
|
|
33
|
+ BABEL_ENV=test
|
|
34
|
+ ./node_modules/mocha/bin/mocha e2e
|
|
35
|
+ --timeout 120000
|
|
36
|
+ --recursive
|
|
37
|
+ --compilers js:babel-register`);
|
33
|
38
|
} finally {
|
34
|
39
|
shellUtils.exec.kill(`detox-server`);
|
35
|
40
|
if (release) {
|