import React from 'react';
import { render } from '@testing-library/react';
import StringDatePickerGroup from './StringDatePickerGroup';
import FormTestBase from '../__Tests__/FormTestBase';
//hack so the datepicker internals don't complain about this not existing in the context of jest
HTMLCanvasElement.prototype.getContext = () => null;
describe('IconInputGroup', () => {
it('renders without crashing', () => {
render(
{({ Field }) => (
)}
);
});
it('has matching snapshot', () => {
const renderResult = render(
{({ Field }) => (
)}
);
expect(renderResult.asFragment()).toMatchSnapshot();
});
});