Skip to content

Commit

Permalink
update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
alisonelizabeth committed Jun 17, 2021
1 parent 47bf842 commit 42c8b8e
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,15 @@ jest.mock('../../kibana_services', () => {
};
});

jest.mock('../../crud_app/services/documentation_links', () => {
const coreMocks = jest.requireActual('../../../../../../src/core/public/mocks');

return {
init: jest.fn(),
documentationLinks: coreMocks.docLinksServiceMock.createStartContract().links,
};
});

const { setup } = pageHelpers.jobList;

describe('Smoke test cloning an existing rollup job from job list', () => {
Expand Down

0 comments on commit 42c8b8e

Please sign in to comment.