diff options
author | dan <dan.abramov@gmail.com> | 2024-12-13 17:14:41 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-12-13 17:14:41 +0000 |
commit | e2a7965e438db9f70d76d2d7a911aa4c4a42c122 (patch) | |
tree | d75b04cf03ad3300feb221341580cca36a9c7005 /index.js | |
parent | 5655241bef22264ad9da3d9ba2074af4e9ba7dd0 (diff) | |
download | voidsky-e2a7965e438db9f70d76d2d7a911aa4c4a42c122.tar.zst |
Gate bitdrift integration (#7088)
* Move Statsig init call earlier * Gate Bitdrift init call * Remove IS_TEST env constant * Mock statsig
Diffstat (limited to 'index.js')
-rw-r--r-- | index.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/index.js b/index.js index 2f13ce1ea..f5f3a07ac 100644 --- a/index.js +++ b/index.js @@ -5,9 +5,8 @@ import {LogBox} from 'react-native' import {registerRootComponent} from 'expo' import App from '#/App' -import {IS_TEST} from '#/env' -if (IS_TEST) { +if (process.env.NODE_ENV === 'test') { LogBox.ignoreAllLogs() // suppress all logs in tests } else { LogBox.ignoreLogs(['Require cycle:']) // suppress require-cycle warnings, it's fine |