Skip to content

Commit

Permalink
fix test/mocks due to plugin configs api changes
Browse files Browse the repository at this point in the history
  • Loading branch information
pgayvallet committed Nov 18, 2019
1 parent b6d9a83 commit 95f5fc4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/core/server/legacy/legacy_service.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,8 @@ beforeEach(() => {
uiPlugins: {
public: new Map([['plugin-id', {} as DiscoveredPlugin]]),
internal: new Map([['plugin-id', {} as DiscoveredPluginInternal]]),
config: new Map([['plugin-id', null]]),
},
uiPluginConfigs: new Map(),
},
},
plugins: { 'plugin-id': 'plugin-value' },
Expand Down
2 changes: 1 addition & 1 deletion src/core/server/plugins/plugins_service.mock.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ const createServiceMock = () => {
uiPlugins: {
public: new Map(),
internal: new Map(),
config: new Map(),
},
uiPluginConfigs: new Map(),
});
mocked.start.mockResolvedValue({ contracts: new Map() });
return mocked;
Expand Down

0 comments on commit 95f5fc4

Please sign in to comment.