Skip to content

Commit

Permalink
fix: bootstrap error (opensearch-project#43)
Browse files Browse the repository at this point in the history
Signed-off-by: SuZhou-Joe <suzhou@amazon.com>
  • Loading branch information
SuZhou-Joe authored and ruanyl committed Aug 3, 2023
1 parent 1d20134 commit 3af0e6a
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ const createSetupContractMock = () => {
getOpenSearchDashboardsBuildNumber: jest.fn(),
getBranding: jest.fn(),
getSurvey: jest.fn(),
getWorkspaceBasePath: jest.fn(),
};
setupContract.getCspConfig.mockReturnValue({ warnLegacyBrowsers: true });
setupContract.getOpenSearchDashboardsVersion.mockReturnValue('opensearchDashboardsVersion');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ import {
UserProvidedValues,
} from '../../server/types';
import { AppCategory, Branding } from '../';
import { getWorkspaceIdFromUrl } from '../utils';

export interface InjectedPluginMetadata {
id: PluginName;
Expand Down Expand Up @@ -187,7 +186,6 @@ export interface InjectedMetadataSetup {
};
getBranding: () => Branding;
getSurvey: () => string | undefined;
getWorkspaceBasePath: () => string;
}

/** @internal */
Expand Down

0 comments on commit 3af0e6a

Please sign in to comment.