diff --git a/src/components/Navigation/BottomTabBar/index.tsx b/src/components/Navigation/BottomTabBar/index.tsx index c27888238f9b..d3d1d9a145db 100644 --- a/src/components/Navigation/BottomTabBar/index.tsx +++ b/src/components/Navigation/BottomTabBar/index.tsx @@ -41,7 +41,7 @@ type BottomTabName = ValueOf; type BottomTabBarProps = { selectedTab: BottomTabName; - tooltipAllowed: boolean | undefined; + tooltipAllowed?: boolean; }; /** diff --git a/tests/unit/SidebarTest.ts b/tests/unit/SidebarTest.ts index 0163d175a1ce..cdc9c0817d57 100644 --- a/tests/unit/SidebarTest.ts +++ b/tests/unit/SidebarTest.ts @@ -14,6 +14,7 @@ import wrapOnyxWithWaitForBatchedUpdates from '../utils/wrapOnyxWithWaitForBatch // Be sure to include the mocked Permissions and Expensicons libraries or else the beta tests won't work jest.mock('@src/libs/Permissions'); jest.mock('@src/components/Icon/Expensicons'); +jest.mock('@src/hooks/useRootNavigationState'); const TEST_USER_ACCOUNT_ID = 1; const TEST_USER_LOGIN = 'email1@test.com';