Skip to content

Commit

Permalink
fix osdUrlStateStorage
Browse files Browse the repository at this point in the history
Signed-off-by: abbyhu2000 <[email protected]>
  • Loading branch information
abbyhu2000 committed Aug 15, 2023
1 parent 9f88323 commit 6ddc538
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/plugins/dashboard/public/application/utils/mocks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand All @@ -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,
Expand All @@ -45,6 +43,5 @@ export const createDashboardServicesMock = () => {
getListingLimit: jest.fn(),
},
},
osdUrlStateStorage: osdUrlStateStorageMock,
} as unknown) as jest.Mocked<DashboardServices>;
};

0 comments on commit 6ddc538

Please sign in to comment.