Skip to content

Commit

Permalink
fix mocks
Browse files Browse the repository at this point in the history
  • Loading branch information
pgayvallet committed Jan 26, 2021
1 parent d4083bd commit 5a6a761
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/core/server/mocks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ export function pluginInitializerContextConfigMock<T>(config: T) {
const mock: jest.Mocked<PluginInitializerContext<T>['config']> = {
legacy: { globalConfig$: of(globalConfig) },
create: jest.fn().mockReturnValue(of(config)),
get: jest.fn().mockReturnValue(config),
};

return mock;
Expand Down

0 comments on commit 5a6a761

Please sign in to comment.