diff --git a/frontend/src/scenes/insights/insightSceneLogic.test.ts b/frontend/src/scenes/insights/insightSceneLogic.test.ts index ed948673123cf3..24f6db1e8bb644 100644 --- a/frontend/src/scenes/insights/insightSceneLogic.test.ts +++ b/frontend/src/scenes/insights/insightSceneLogic.test.ts @@ -80,9 +80,9 @@ describe('insightSceneLogic', () => { }), }) - expect( - (logic.values.insightLogicRef?.logic.values.queryBasedInsight.query as InsightVizNode).source?.kind - ).toEqual('PathsQuery') + expect((logic.values.insightLogicRef?.logic.values.insight.query as InsightVizNode).source?.kind).toEqual( + 'PathsQuery' + ) }) it('persists edit mode in the url', async () => {