Skip to content

Commit

Permalink
test ResetPasswordNotAvailableScreen (#1573)
Browse files Browse the repository at this point in the history
  • Loading branch information
zburke authored Dec 5, 2024
1 parent 4868456 commit d01bb48
Showing 1 changed file with 14 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -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(<BadRequestScreen />);

screen.getByText('stripes-core.front.error.header');
screen.getByText('stripes-core.front.error.setPassword.message');
});
});

0 comments on commit d01bb48

Please sign in to comment.