diff --git a/__mocks__/@react-native-community/netinfo.ts b/__mocks__/@react-native-community/netinfo.ts index 15f2aeb1cfd3..db0d34e2276d 100644 --- a/__mocks__/@react-native-community/netinfo.ts +++ b/__mocks__/@react-native-community/netinfo.ts @@ -7,7 +7,7 @@ const defaultState: NetInfoState = { isInternetReachable: true, details: { isConnectionExpensive: true, - cellularGeneration: NetInfoCellularGeneration ? NetInfoCellularGeneration['3g'] : null, + cellularGeneration: NetInfoCellularGeneration?.['3g'], carrier: 'T-Mobile', }, };