Skip to content

Commit

Permalink
Fixing unit tests
Browse files Browse the repository at this point in the history
Signed-off-by: saimedhi <[email protected]>
  • Loading branch information
saimedhi committed Nov 5, 2024
1 parent c367eca commit 08b6307
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions public/pages/workflows/workflow_list/workflow_list.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand All @@ -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: '',
Expand Down

0 comments on commit 08b6307

Please sign in to comment.