From cb2e96d3de08e0e08882527db0c9130819e17a36 Mon Sep 17 00:00:00 2001 From: Garrett Spong Date: Fri, 15 May 2020 17:54:55 -0600 Subject: [PATCH] Fixing lingering type issue --- .../map_tool_tip/point_tool_tip_content.test.tsx | 7 ------- 1 file changed, 7 deletions(-) diff --git a/x-pack/plugins/siem/public/network/components/embeddables/map_tool_tip/point_tool_tip_content.test.tsx b/x-pack/plugins/siem/public/network/components/embeddables/map_tool_tip/point_tool_tip_content.test.tsx index 79d5c0d43cde6..36b9f44e19630 100644 --- a/x-pack/plugins/siem/public/network/components/embeddables/map_tool_tip/point_tool_tip_content.test.tsx +++ b/x-pack/plugins/siem/public/network/components/embeddables/map_tool_tip/point_tool_tip_content.test.tsx @@ -10,22 +10,15 @@ import { getRenderedFieldValue, PointToolTipContentComponent } from './point_too import { TestProviders } from '../../../../common/mock'; import { getEmptyStringTag } from '../../../../common/components/empty_value'; import { HostDetailsLink, IPDetailsLink } from '../../../../common/components/links'; -import { useMountAppended } from '../../../../common/utils/use_mount_appended'; import { FlowTarget } from '../../../../graphql/types'; import { ITooltipProperty } from '../../../../../../maps/public'; import { TooltipProperty } from '../../../../../../maps/public/classes/tooltips/tooltip_property'; describe('PointToolTipContent', () => { - const mount = useMountAppended(); - const mockFeatureProps: ITooltipProperty[] = [ new TooltipProperty('host.name', 'host.name', 'testPropValue'), ]; - const mockFeaturePropsArrayValue: ITooltipProperty[] = [ - new TooltipProperty('host.name', 'host.name', ['testPropValue1', 'testPropValue2']), - ]; - test('renders correctly against snapshot', () => { const closeTooltip = jest.fn();