Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
alisonelizabeth committed Mar 28, 2022
1 parent 5226a32 commit 8d909c6
Showing 1 changed file with 12 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,10 @@ import { setExtensionsService } from '../../public/application/store/selectors/e
import { ExtensionsService } from '../../public/services';
import { kibanaVersion } from '../client_integration/helpers';

/* eslint-disable @kbn/eslint/no-restricted-paths */
import { notificationServiceMock } from '../../../../../src/core/public/notifications/notifications_service.mock';
import {
notificationServiceMock,
executionContextServiceMock,
} from '../../../../../src/core/public/mocks';

const mockHttpClient = axios.create({ adapter: axiosXhrAdapter });

Expand Down Expand Up @@ -164,7 +166,14 @@ describe('index table', () => {

store = indexManagementStore(services);

const appDependencies = { services, core: {}, plugins: {} };
const appDependencies = {
services,
core: {
getUrlForApp: () => {},
executionContext: executionContextServiceMock.createStartContract(),
},
plugins: {},
};

component = (
<Provider store={store}>
Expand Down

0 comments on commit 8d909c6

Please sign in to comment.