diff --git a/src/components/ResetPasswordNotAvailableScreen/ResetPasswordNotAvailableScreen.test.js b/src/components/ResetPasswordNotAvailableScreen/ResetPasswordNotAvailableScreen.test.js new file mode 100644 index 000000000..fd2211747 --- /dev/null +++ b/src/components/ResetPasswordNotAvailableScreen/ResetPasswordNotAvailableScreen.test.js @@ -0,0 +1,14 @@ +import { render, screen } from '@folio/jest-config-stripes/testing-library/react'; + +import BadRequestScreen from './ResetPasswordNotAvailableScreen'; + +jest.mock('../../Pluggable', () => (props) => props.children); + +describe('ResetPasswordNotAvailableScreen', () => { + it('renders expected message', () => { + render(); + + screen.getByText('stripes-core.front.error.header'); + screen.getByText('stripes-core.front.error.setPassword.message'); + }); +});