Skip to content

Commit

Permalink
Fix imports
Browse files Browse the repository at this point in the history
  • Loading branch information
jennypavlova committed Aug 20, 2024
1 parent 5312cc7 commit 5d70525
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
* 2.0.
*/

import { MetricsAPIRequest } from '../../../../common/http_api';
import moment from 'moment';
import { convertBucketsToMetricsApiSeries } from './convert_buckets_to_metrics_series';
import type { MetricsAPIRequest } from '@kbn/metrics-data-access-plugin/common';

const keys = ['example-0'];

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,10 @@
* 2.0.
*/

import {
InfraTimerangeInput,
MetricsAPIRequest,
SnapshotRequest,
} from '../../../../common/http_api';
import type { InfraTimerangeInput, SnapshotRequest } from '../../../../common/http_api';
import moment from 'moment';
import { transformMetricsApiResponseToSnapshotResponse } from './transform_metrics_ui_response';
import type { MetricsAPIRequest } from '@kbn/metrics-data-access-plugin/common';

jest.mock('./apply_metadata_to_last_path', () => ({
applyMetadataToLastPath: (series: any) => [{ label: series.id }],
Expand Down

0 comments on commit 5d70525

Please sign in to comment.