Skip to content

Commit 0e6ee6b

Browse files
committed
fix: test
1 parent f045e7c commit 0e6ee6b

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

tests/unit/OptionsListUtilsTest.ts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,18 @@ import type {PersonalDetails, Policy, Report} from '@src/types/onyx';
2828
import {getFakeAdvancedReportAction} from '../utils/LHNTestUtils';
2929
import waitForBatchedUpdates from '../utils/waitForBatchedUpdates';
3030

31+
jest.mock('@rnmapbox/maps', () => {
32+
return {
33+
default: jest.fn(),
34+
MarkerView: jest.fn(),
35+
setAccessToken: jest.fn(),
36+
};
37+
});
38+
39+
jest.mock('@react-native-community/geolocation', () => ({
40+
setRNConfiguration: jest.fn(),
41+
}));
42+
3143
type PersonalDetailsList = Record<string, PersonalDetails & OptionData>;
3244

3345
describe('OptionsListUtils', () => {

0 commit comments

Comments
 (0)