diff --git a/src/components/BadRequestScreen/BadRequestScreen.test.js b/src/components/BadRequestScreen/BadRequestScreen.test.js index 2977a8c9..9fa418b1 100644 --- a/src/components/BadRequestScreen/BadRequestScreen.test.js +++ b/src/components/BadRequestScreen/BadRequestScreen.test.js @@ -9,7 +9,7 @@ describe('BadRequestScreen', () => { render(); screen.getByText('stripes-core.front.error.header'); - screen.getByText('stripes-core.front.error.general.message'); + screen.getByText(/stripes-core.front.error.general.message/); }); });