Skip to content

Commit

Permalink
Updated snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
cqliu1 committed Oct 28, 2020
1 parent b068689 commit 2122b89
Show file tree
Hide file tree
Showing 4 changed files with 48 additions and 0 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,12 @@ jest.mock('../app_navigation_handler', () => {
};
});

jest.mock('../../kibana_services', () => ({
getServices: () => ({
trackUiMetric: jest.fn(),
}),
}));

beforeEach(() => {
jest.clearAllMocks();
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,12 @@ jest.mock('../app_navigation_handler', () => {
};
});

jest.mock('../../kibana_services', () => ({
getServices: () => ({
trackUiMetric: jest.fn(),
}),
}));

beforeEach(() => {
jest.clearAllMocks();
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,12 @@ const solutionEntry = {
order: 1,
};

jest.mock('../../kibana_services', () => ({
getServices: () => ({
trackUiMetric: jest.fn(),
}),
}));

const addBasePathMock = (path: string) => (path ? path : 'path');

describe('SolutionPanel', () => {
Expand Down

0 comments on commit 2122b89

Please sign in to comment.