From 7670b936b17b5aa751cc3dce487fd08bb87c5221 Mon Sep 17 00:00:00 2001 From: ahmadshaheer Date: Sun, 22 Dec 2024 17:32:18 +0430 Subject: [PATCH] fix: fix the failing tests --- frontend/src/pages/LogsExplorer/__tests__/LogsExplorer.test.tsx | 1 + frontend/src/pages/TracesExplorer/__test__/testUtils.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/frontend/src/pages/LogsExplorer/__tests__/LogsExplorer.test.tsx b/frontend/src/pages/LogsExplorer/__tests__/LogsExplorer.test.tsx index f76bdce610..f22bfbac80 100644 --- a/frontend/src/pages/LogsExplorer/__tests__/LogsExplorer.test.tsx +++ b/frontend/src/pages/LogsExplorer/__tests__/LogsExplorer.test.tsx @@ -155,6 +155,7 @@ describe('Logs Explorer Tests', () => { const { queryAllByText } = render( false, currentQuery: { ...initialQueriesMap.metrics, builder: { diff --git a/frontend/src/pages/TracesExplorer/__test__/testUtils.ts b/frontend/src/pages/TracesExplorer/__test__/testUtils.ts index 8a46740e6a..22817103e5 100644 --- a/frontend/src/pages/TracesExplorer/__test__/testUtils.ts +++ b/frontend/src/pages/TracesExplorer/__test__/testUtils.ts @@ -195,6 +195,7 @@ export const compositeQuery: Query = { export const redirectWithQueryBuilderData = jest.fn(); export const qbProviderValue = { + isDefaultQuery: jest.fn(() => false), currentQuery: { ...initialQueriesMap.traces, builder: {