Skip to content

Commit

Permalink
Update test with new observables
Browse files Browse the repository at this point in the history
  • Loading branch information
nickpeihl committed Mar 18, 2024
1 parent 4fe1289 commit 9d58ba8
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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(() => ({
Expand Down

0 comments on commit 9d58ba8

Please sign in to comment.