Fix EmailVerification test

This commit is contained in:
Alex Gleason
2023-01-05 17:36:02 -06:00
parent 83c93a6d51
commit 3fa9cbe211

View File

@ -60,7 +60,9 @@ describe('<EmailVerification />', () => {
);
});
expect(screen.getByTestId('form-group-error')).toHaveTextContent('is taken');
await waitFor(() => {
expect(screen.getByTestId('form-group-error')).toHaveTextContent('is taken');
});
});
});
});