diff --git a/tests/perf-test/OptionsListUtils.perf-test.ts b/tests/perf-test/OptionsListUtils.perf-test.ts index 16522297a416..5e15d43c45b2 100644 --- a/tests/perf-test/OptionsListUtils.perf-test.ts +++ b/tests/perf-test/OptionsListUtils.perf-test.ts @@ -73,6 +73,13 @@ jest.mock('@react-navigation/native', () => { }; }); +jest.mock('@src/libs/actions/Timing', () => { + return { + start: jest.fn(), + end: jest.fn(), + }; +}); + const options = OptionsListUtils.createOptionList(personalDetails, reports); /* GetOption is the private function and is never called directly, we are testing the functions which call getOption with different params */