Fix SmsVerification test

update-emoji-mart^2
Alex Gleason 2022-07-13 19:34:29 -05:00
rodzic 6f2ba29f81
commit efad8e0e67
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 7211D1F99744FBB7
1 zmienionych plików z 3 dodań i 3 usunięć

Wyświetl plik

@ -29,7 +29,7 @@ describe('<SmsVerification />', () => {
await userEvent.type(screen.getByLabelText('Phone Number'), '+1 (555) 555-5555');
await waitFor(() => {
fireEvent.submit(
screen.getByRole('button'), {
screen.getByRole('button', { name: 'Next' }), {
preventDefault: () => {},
},
);
@ -56,7 +56,7 @@ describe('<SmsVerification />', () => {
await userEvent.type(screen.getByLabelText('Phone Number'), '+1 (555) 555-5555');
await waitFor(() => {
fireEvent.submit(
screen.getByRole('button'), {
screen.getByRole('button', { name: 'Next' }), {
preventDefault: () => {},
},
);
@ -90,7 +90,7 @@ describe('<SmsVerification />', () => {
await userEvent.type(screen.getByLabelText('Phone Number'), '+1 (555) 555-5555');
await waitFor(() => {
fireEvent.submit(
screen.getByRole('button'), {
screen.getByRole('button', { name: 'Next' }), {
preventDefault: () => {},
},
);