Skip to content

Commit

Permalink
typescript fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mattkime committed May 16, 2020
1 parent e78faf7 commit c959006
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/plugins/index_pattern_management/public/mocks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,9 @@

import { PluginInitializerContext } from 'src/core/public';
import { coreMock } from '../../../core/public/mocks';
import { managementPluginMock } from '../../../plugins/management/public/mocks';
import { dataPluginMock } from '../../../plugins/data/public/mocks';
import { managementPluginMock } from '../../management/public/mocks';
import { kibanaLegacyPluginMock } from '../../kibana_legacy/public/mocks';
import { dataPluginMock } from '../../data/public/mocks';
import {
IndexPatternManagementSetup,
IndexPatternManagementStart,
Expand Down Expand Up @@ -61,6 +62,7 @@ const createInstance = async () => {

const setup = plugin.setup(coreMock.createSetup(), {
management: managementPluginMock.createSetupContract(),
kibanaLegacy: kibanaLegacyPluginMock.createSetupContract(),
});
const doStart = () =>
plugin.start(coreMock.createStart(), {
Expand Down

0 comments on commit c959006

Please sign in to comment.