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