From ec5d558ccdac67e6a293f20cc83342d639176083 Mon Sep 17 00:00:00 2001 From: vashjs Date: Mon, 5 Feb 2024 00:28:32 +0100 Subject: [PATCH] add fake timers --- src/components/BulkEditList/BulkEditList.test.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/components/BulkEditList/BulkEditList.test.js b/src/components/BulkEditList/BulkEditList.test.js index 708f0622..6c669acd 100644 --- a/src/components/BulkEditList/BulkEditList.test.js +++ b/src/components/BulkEditList/BulkEditList.test.js @@ -13,6 +13,8 @@ import { CAPABILITIES, IDENTIFIERS, CRITERIA } from '../../constants'; import { BulkEditList } from './BulkEditList'; +jest.useFakeTimers(); + jest.mock('../BulkEditLogs/BulkEditLogs', () => { return jest.fn().mockReturnValue('BulkEditLogs'); });