* Add logged out e2e ctrl, fix login test * Fix log handling via env vars in expo * Fix create account test * Upgrade dev-env * Fix home screen tests * Fix composer tests * Fix curate-lists tests, split in two * Fix invite codes test * Fix curate-lists tests * Give up on mergefeed test * Fix mod lists * Fix app view url * Fix profile tests * Fix profile test with hack * Keep using globals * Fix two more * Fix thread view * Better skip for merge feed * Revert debug code
9 lines
308 B
TypeScript
9 lines
308 B
TypeScript
export const IS_TEST = process.env.EXPO_PUBLIC_ENV === 'test'
|
|
export const IS_DEV = __DEV__
|
|
export const IS_PROD = !IS_DEV
|
|
export const LOG_DEBUG = process.env.EXPO_PUBLIC_LOG_DEBUG || ''
|
|
export const LOG_LEVEL = (process.env.EXPO_PUBLIC_LOG_LEVEL || 'info') as
|
|
| 'debug'
|
|
| 'info'
|
|
| 'warn'
|
|
| 'error'
|