Skip to content

Commit

Permalink
Fix import
Browse files Browse the repository at this point in the history
  • Loading branch information
Alejandro Fernández Gómez committed Mar 8, 2022
1 parent 6bca66d commit e8b2652
Showing 1 changed file with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import React from 'react';
import Embeddable from './embeddable';
import { LensPublicStart } from '../../../../../../lens/public';
import { IndexPatternState } from '../hooks/use_app_index_pattern';
import { DataViewState } from '../hooks/use_app_data_view';
import { render } from '../rtl_helpers';
import { AddToCaseAction } from '../header/add_to_case_action';
import { ActionTypes } from './use_actions';
Expand Down Expand Up @@ -77,7 +77,7 @@ const mockTimeRange = {
};
const mockOwner = 'securitySolution';
const mockAppId = 'securitySolutionUI';
const mockIndexPatterns = {} as IndexPatternState;
const mockDataViews = {} as DataViewState;
const mockReportType = 'kpi-over-time';
const mockTitle = 'mockTitle';
const mockLens = {
Expand Down Expand Up @@ -110,7 +110,7 @@ describe('Embeddable', () => {
caseOwner={mockOwner}
customLensAttrs={mockLensAttrs}
customTimeRange={mockTimeRange}
indexPatterns={mockIndexPatterns}
indexPatterns={mockDataViews}
lens={mockLens}
reportType={mockReportType}
title={mockTitle}
Expand All @@ -128,7 +128,7 @@ describe('Embeddable', () => {
caseOwner={mockOwner}
customLensAttrs={mockLensAttrs}
customTimeRange={mockTimeRange}
indexPatterns={mockIndexPatterns}
indexPatterns={mockDataViews}
lens={mockLens}
reportType={mockReportType}
withActions={mockActions}
Expand All @@ -146,7 +146,7 @@ describe('Embeddable', () => {
caseOwner={mockOwner}
customLensAttrs={mockLensAttrs}
customTimeRange={mockTimeRange}
indexPatterns={mockIndexPatterns}
indexPatterns={mockDataViews}
lens={mockLens}
reportType={mockReportType}
withActions={mockActions}
Expand Down Expand Up @@ -181,7 +181,7 @@ describe('Embeddable', () => {
caseOwner={mockOwner}
customLensAttrs={mockLensAttrs}
customTimeRange={mockTimeRange}
indexPatterns={mockIndexPatterns}
indexPatterns={mockDataViews}
isSingleMetric={true}
lens={mockLens}
reportType={mockReportType}
Expand Down Expand Up @@ -213,7 +213,7 @@ describe('Embeddable', () => {
caseOwner={mockOwner}
customLensAttrs={mockLensAttrs}
customTimeRange={mockTimeRange}
indexPatterns={mockIndexPatterns}
indexPatterns={mockDataViews}
isSingleMetric={true}
lens={mockLens}
reportType={mockReportType}
Expand Down

0 comments on commit e8b2652

Please sign in to comment.