diff --git a/packages/react-components/src/templates/__tests__/ComplianceReportForm.test.tsx b/packages/react-components/src/templates/__tests__/ComplianceReportForm.test.tsx
index 8c0df86cd2..c225d55147 100644
--- a/packages/react-components/src/templates/__tests__/ComplianceReportForm.test.tsx
+++ b/packages/react-components/src/templates/__tests__/ComplianceReportForm.test.tsx
@@ -105,12 +105,13 @@ it('displays error message when description is missing', async () => {
it('should go back when cancel button is clicked', () => {
const { getByText } = render(
-
-
-
-
- ,
- { wrapper: MemoryRouter },
+
+
+
+
+
+
+ ,
);
history.push('/another-url');