From 9d58ba8568dd99ca213ab2665ec0cef528e2ada2 Mon Sep 17 00:00:00 2001 From: Nick Peihl Date: Mon, 18 Mar 2024 09:10:16 -0400 Subject: [PATCH] Update test with new observables --- .../public/trigger_actions/open_in_discover_action.test.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/x-pack/plugins/lens/public/trigger_actions/open_in_discover_action.test.ts b/x-pack/plugins/lens/public/trigger_actions/open_in_discover_action.test.ts index 1eddf6cdb6c19..fca5e37ccc200 100644 --- a/x-pack/plugins/lens/public/trigger_actions/open_in_discover_action.test.ts +++ b/x-pack/plugins/lens/public/trigger_actions/open_in_discover_action.test.ts @@ -18,9 +18,9 @@ describe('open in discover action', () => { type: DOC_TYPE, panelTitle: 'some title', hidePanelTitle: false, - localFilters: new BehaviorSubject([]), - localQuery: new BehaviorSubject({ query: 'test', language: 'kuery' }), - localTimeRange: new BehaviorSubject({ from: 'now-15m', to: 'now' }), + filters$: new BehaviorSubject([]), + query$: new BehaviorSubject({ query: 'test', language: 'kuery' }), + timeRange$: new BehaviorSubject({ from: 'now-15m', to: 'now' }), getSavedVis: jest.fn(() => undefined), canViewUnderlyingData: () => Promise.resolve(true), getViewUnderlyingDataArgs: jest.fn(() => ({