From 3a204e2902f9733be05e3b7087869d2e91ad52eb Mon Sep 17 00:00:00 2001 From: Hetu Nandu Date: Tue, 8 Oct 2024 10:52:38 +0530 Subject: [PATCH] fix jest failure --- .../src/components/editorComponents/JSResponseView.test.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/client/src/components/editorComponents/JSResponseView.test.tsx b/app/client/src/components/editorComponents/JSResponseView.test.tsx index 1ca5857b41e..5d3e177cc17 100644 --- a/app/client/src/components/editorComponents/JSResponseView.test.tsx +++ b/app/client/src/components/editorComponents/JSResponseView.test.tsx @@ -13,6 +13,7 @@ import type { JSCollectionData } from "ee/reducers/entityReducers/jsActionsReduc import { PluginType } from "entities/Action"; import "@testing-library/jest-dom/extend-expect"; import { EMPTY_RESPONSE_LAST_HALF } from "ee/constants/messages"; +import { DEBUGGER_TAB_KEYS } from "./Debugger/constants"; jest.mock("ee/utils/actionExecutionUtils"); @@ -43,7 +44,7 @@ const storeState = { debugger: { open: true, responseTabHeight: 200, - selectedTab: "response", + selectedTab: DEBUGGER_TAB_KEYS.RESPONSE_TAB, }, }, editor: {