From 6ddc538dbfd4d9fa82c5e30d98172c6440d140f8 Mon Sep 17 00:00:00 2001 From: abbyhu2000 Date: Tue, 15 Aug 2023 19:37:24 +0000 Subject: [PATCH] fix osdUrlStateStorage Signed-off-by: abbyhu2000 --- src/plugins/dashboard/public/application/utils/mocks.ts | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/plugins/dashboard/public/application/utils/mocks.ts b/src/plugins/dashboard/public/application/utils/mocks.ts index bc59763caa2c..84720b0bcbc4 100644 --- a/src/plugins/dashboard/public/application/utils/mocks.ts +++ b/src/plugins/dashboard/public/application/utils/mocks.ts @@ -3,7 +3,6 @@ * SPDX-License-Identifier: Apache-2.0 */ -import { createOsdUrlStateStorage } from 'src/plugins/opensearch_dashboards_utils/public'; import { coreMock } from '../../../../../core/public/mocks'; import { dataPluginMock } from '../../../../data/public/mocks'; import { dashboardPluginMock } from '../../../../dashboard/public/mocks'; @@ -19,7 +18,6 @@ export const createDashboardServicesMock = () => { const usageCollection = usageCollectionPluginMock.createSetupContract(); const embeddable = embeddablePluginMock.createStartContract(); const opensearchDashboardsVersion = '3.0.0'; - const osdUrlStateStorageMock = createOsdUrlStateStorage({ useHash: false }); return ({ ...coreStartMock, @@ -45,6 +43,5 @@ export const createDashboardServicesMock = () => { getListingLimit: jest.fn(), }, }, - osdUrlStateStorage: osdUrlStateStorageMock, } as unknown) as jest.Mocked; };