From 5714a7b0ef34b8ef7658b011bbd90acb16d915a8 Mon Sep 17 00:00:00 2001 From: Zak Burke Date: Thu, 5 Dec 2024 10:42:03 -0500 Subject: [PATCH] don't use exact match for tx with placeholders --- src/components/BadRequestScreen/BadRequestScreen.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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/); }); });