This commit is contained in:
Justin
2022-06-08 13:03:12 -04:00
parent 5900068144
commit 471b2caa3f

View File

@ -39,7 +39,10 @@ describe('<AgeVerification />', () => {
store,
);
await userEvent.type(screen.getByLabelText('Birth Date'), '{enter}');
await userEvent.selectOptions(
screen.getByTestId('datepicker-year'),
screen.getByRole('option', { name: '2020' }),
);
fireEvent.submit(
screen.getByRole('button'), {