diff --git a/index.js b/index.js index 50460ab3fe0..5b12ba4925d 100644 --- a/index.js +++ b/index.js @@ -17,7 +17,7 @@ setupSentry(); import { AppRegistry, LogBox } from 'react-native'; import Root from './app/components/Views/Root'; import { name } from './app.json'; -import { isTest } from './app/util/test/utils.js'; +import { isE2E } from './app/util/test/utils.js'; import { Performance } from './app/core/Performance'; Performance.setupPerformanceObservers(); @@ -89,5 +89,5 @@ if (IGNORE_BOXLOGS_DEVELOPMENT === 'true') { */ AppRegistry.registerComponent(name, () => // Disable Sentry for E2E tests - isTest ? Root : Sentry.wrap(Root), + isE2E ? Root : Sentry.wrap(Root), ); diff --git a/scripts/build.sh b/scripts/build.sh index f32e593e54e..3a304441d95 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -214,6 +214,7 @@ buildAndroidRun(){ } buildAndroidRunQA(){ + remapEnvVariableLocal prebuild_android react-native run-android --port=$WATCHER_PORT --variant=qaDebug --active-arch-only } @@ -547,6 +548,7 @@ buildIos() { startWatcher() { source $JS_ENV_FILE + remapEnvVariableLocal WATCHER_PORT=${WATCHER_PORT:-8081} if [ "$MODE" == "clean" ]; then watchman watch-del-all