From 14eb38b00cdbf3eb6c0d7a9a9881a52e2338ce33 Mon Sep 17 00:00:00 2001 From: Tomasz Misiukiewicz Date: Wed, 24 Jul 2024 16:43:28 +0200 Subject: [PATCH] fix tests --- tests/unit/OptionsListUtilsTest.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tests/unit/OptionsListUtilsTest.ts b/tests/unit/OptionsListUtilsTest.ts index 79f19649f337..df2e3ca49836 100644 --- a/tests/unit/OptionsListUtilsTest.ts +++ b/tests/unit/OptionsListUtilsTest.ts @@ -13,6 +13,13 @@ import waitForBatchedUpdates from '../utils/waitForBatchedUpdates'; type PersonalDetailsList = Record; +jest.mock('@src/libs/actions/Timing', () => { + return { + start: jest.fn(), + end: jest.fn(), + }; +}); + describe('OptionsListUtils', () => { // Given a set of reports with both single participants and multiple participants some pinned and some not const REPORTS: OnyxCollection = {