add detox to testing flag

This commit is contained in:
Abbey Campbell
2025-12-05 09:54:16 -08:00
parent 1c7ec2296b
commit 425f0a11bf

View File

@@ -18,7 +18,7 @@ const Tab = createBottomTabNavigator( );
const BottomTabs = ( ) => {
const renderTabBar = ( props: BottomTabBarProps ) => <CustomTabBarContainer {...props} />;
const isTest = process.env.JEST_WORKER_ID !== undefined;
const isTest = process.env.JEST_WORKER_ID !== undefined || process.env.DETOX === "true";
// DEVELOPERS: do you need to add any screens here? All the rest of our screens live in
// NoBottomTabStackNavigator, TabStackNavigator, or LoginStackNavigator