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 committed Aug 31, 2023
1 parent 8cb0502 commit 37c4a40
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 37c4a40

Please sign in to comment.