Fix EmailVerification test
This commit is contained in:
parent
83c93a6d51
commit
3fa9cbe211
1 changed files with 3 additions and 1 deletions
|
@ -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');
|
||||||
|
});
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue