Skip to content

Commit

Permalink
Fixing paths in jest mocks
Browse files Browse the repository at this point in the history
  • Loading branch information
simianhacker committed Mar 13, 2020
1 parent 5239c65 commit b65e0a3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* or more contributor license agreements. Licensed under the Elastic License;
* you may not use this file except in compliance with the Elastic License.
*/
jest.mock('../../../utils/use_kibana_ui_setting', () => ({
jest.mock('../../../../utils/use_kibana_ui_setting', () => ({
_esModule: true,
useKibanaUiSetting: jest.fn(() => [
[
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const renderUseMetricsExplorerStateHook = () =>

const mockedUseMetricsExplorerData = jest.fn();

jest.mock('../../../containers/metrics_explorer/use_metrics_explorer_data', () => {
jest.mock('./use_metrics_explorer_data', () => {
return {
useMetricsExplorerData: () => {
return mockedUseMetricsExplorerData();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ const renderUseMetricsExplorerDataHook = () => {
);
};

jest.mock('../../utils/kuery', () => {
jest.mock('../../../../utils/kuery', () => {
return {
convertKueryToElasticSearchQuery: (query: string) => query,
};
Expand Down

0 comments on commit b65e0a3

Please sign in to comment.