From a36651f3973d069a54220b368db73ce4d1275baf Mon Sep 17 00:00:00 2001 From: eric Date: Tue, 19 Nov 2024 13:28:32 -0500 Subject: [PATCH] edit test --- .../Components/seriesBreakdownLogic.test.ts | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/frontend/src/queries/nodes/DataVisualization/Components/seriesBreakdownLogic.test.ts b/frontend/src/queries/nodes/DataVisualization/Components/seriesBreakdownLogic.test.ts index b57c0c8b89e..37758458fd8 100644 --- a/frontend/src/queries/nodes/DataVisualization/Components/seriesBreakdownLogic.test.ts +++ b/frontend/src/queries/nodes/DataVisualization/Components/seriesBreakdownLogic.test.ts @@ -3,7 +3,7 @@ import { featureFlagLogic } from 'lib/logic/featureFlagLogic' import { DataVisualizationNode, NodeKind } from '~/queries/schema' import { initKeaTests } from '~/test/init' -import { ChartDisplayType } from '~/types' +import { ChartDisplayType, ItemMode } from '~/types' import { dataNodeLogic } from '../../DataNode/dataNodeLogic' import { dataVisualizationLogic, DataVisualizationLogicProps } from '../dataVisualizationLogic' @@ -63,10 +63,8 @@ const dummyDataVisualizationLogicProps: DataVisualizationLogicProps = { setQuery: (query) => { globalQuery = query }, - insightLogicProps: { - cachedInsight: null, - dashboardItemId: 'new-test-SQL', - }, + insightMode: ItemMode.View, + dataNodeCollectionId: 'new-test-SQL', } describe('seriesBreakdownLogic', () => {