Skip to content

Commit

Permalink
Fixing lingering type issue
Browse files Browse the repository at this point in the history
  • Loading branch information
spong committed May 15, 2020
1 parent 74cbeff commit cb2e96d
Showing 1 changed file with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand Down

0 comments on commit cb2e96d

Please sign in to comment.