import React from 'react';
import { shallow, ShallowWrapper } from 'enzyme';
import ImageTooltipContent from '../ImageTooltipContent';
// @ts-ignore flow import
import testImageSrc from '../getTestImageSrc';
describe('components/image-tooltip/ImageTooltipContent', () => {
test('should correctly render an ImageTooltipContent', () => {
const tooltipContent = 'Hey I am content';
const tooltipTitle = 'I am a title';
const image =
;
const onImageLoadMock = jest.fn();
const wrapper: ShallowWrapper = shallow(
{image}
,
);
expect(wrapper).toMatchSnapshot();
});
});