Skip to content

Commit 4cff4ef

Browse files
Fix tests
Signed-off-by: Adhitya Mamallan <adhitya.mamallan@uber.com>
1 parent a08c979 commit 4cff4ef

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

src/views/workflow-history-v2/__tests__/workflow-history-v2.test.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -452,6 +452,8 @@ async function setup({
452452
value={{
453453
ungroupedViewUserPreference: ungroupedViewPreference ?? null,
454454
setUngroupedViewUserPreference: mockSetUngroupedViewUserPreference,
455+
isWorkflowHistoryV2Enabled: false,
456+
setIsWorkflowHistoryV2Enabled: jest.fn(),
455457
}}
456458
>
457459
<WorkflowHistoryV2

src/views/workflow-history/__tests__/workflow-history.test.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -298,6 +298,8 @@ async function setup({
298298
value={{
299299
ungroupedViewUserPreference: ungroupedViewPreference ?? null,
300300
setUngroupedViewUserPreference: mockSetUngroupedViewUserPreference,
301+
isWorkflowHistoryV2Enabled: false,
302+
setIsWorkflowHistoryV2Enabled: jest.fn(),
301303
}}
302304
>
303305
<WorkflowHistory

0 commit comments

Comments
 (0)