mirror of
https://github.com/Unleash/unleash.git
synced 2025-09-24 17:51:14 +02:00
* refactor: fix warning when both project and projects are undefined * refactor: unify test render context * refactor: use render route option
12 lines
411 B
TypeScript
12 lines
411 B
TypeScript
import { screen } from '@testing-library/react';
|
|
import { FORGOTTEN_PASSWORD_FIELD } from 'utils/testIds';
|
|
import React from 'react';
|
|
import ForgottenPassword from 'component/user/ForgottenPassword/ForgottenPassword';
|
|
import { render } from 'utils/testRenderer';
|
|
|
|
test('should render password auth', async () => {
|
|
render(<ForgottenPassword />);
|
|
|
|
await screen.findByTestId(FORGOTTEN_PASSWORD_FIELD);
|
|
});
|