From 08b63070dd9b6dad6193d2117d25b3bc445bd51d Mon Sep 17 00:00:00 2001 From: saimedhi Date: Tue, 5 Nov 2024 09:32:06 -0800 Subject: [PATCH] Fixing unit tests Signed-off-by: saimedhi --- public/pages/workflows/workflow_list/workflow_list.test.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/public/pages/workflows/workflow_list/workflow_list.test.tsx b/public/pages/workflows/workflow_list/workflow_list.test.tsx index f5f38645..a7f2d1b2 100644 --- a/public/pages/workflows/workflow_list/workflow_list.test.tsx +++ b/public/pages/workflows/workflow_list/workflow_list.test.tsx @@ -14,6 +14,7 @@ import { mockStore } from '../../../../test/utils'; import { WORKFLOW_TYPE } from '../../../../common'; import configureStore from 'redux-mock-store'; import { WorkflowInput } from '../../../../test/interfaces'; +import { INITIAL_OPENSEARCH_STATE } from '../../../store'; jest.mock('../../../services', () => { const { mockCoreServices } = require('../../../../test'); @@ -33,6 +34,7 @@ const workflowSet: WorkflowInput[] = Array.from({ length: 20 }, (_, index) => ({ const mockStore1 = configureStore([]); const initialState = { + opensearch: INITIAL_OPENSEARCH_STATE, workflows: { loading: false, errorMessage: '',