diff --git a/index.js b/index.js index ece1f59ea50..e2ff6f4a0db 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'; @@ -90,5 +90,5 @@ if (IGNORE_BOXLOGS_DEVELOPMENT === 'true') { */ AppRegistry.registerComponent(name, () => // Disable Sentry for E2E tests - isTest ? Root : Sentry.wrap(Root), + isE2E ? Root : Sentry.wrap(Root), );