diff --git a/x-pack/plugins/upgrade_assistant/__jest__/client_integration/helpers/app_context.mock.ts b/x-pack/plugins/upgrade_assistant/__jest__/client_integration/helpers/app_context.mock.ts index dbe44d6ce04c2..4cd2570f1d393 100644 --- a/x-pack/plugins/upgrade_assistant/__jest__/client_integration/helpers/app_context.mock.ts +++ b/x-pack/plugins/upgrade_assistant/__jest__/client_integration/helpers/app_context.mock.ts @@ -28,6 +28,8 @@ const shareMock = sharePluginMock.createSetupContract(); shareMock.url.locators.get = (id) => ({ // @ts-expect-error This object is missing some properties that we're not using in the UI useUrl: (): string | undefined => idToUrlMap[id], + // @ts-expect-error This object is missing some properties that we're not using in the UI + getUrl: (): string | undefined => idToUrlMap[id], }); export const getAppContextMock = (mockHttpClient: HttpSetup) => ({