From ddc8da79c282e2c85911f14530b31f09e2c4c3d5 Mon Sep 17 00:00:00 2001 From: Maciej Jastrzebski Date: Wed, 16 Oct 2024 13:06:34 +0200 Subject: [PATCH] chore: filter expected errors --- src/__tests__/render-string-validation.test.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/__tests__/render-string-validation.test.tsx b/src/__tests__/render-string-validation.test.tsx index f8a4ba48..35cb9bc0 100644 --- a/src/__tests__/render-string-validation.test.tsx +++ b/src/__tests__/render-string-validation.test.tsx @@ -7,7 +7,7 @@ const originalConsoleError = console.error; const VALIDATION_ERROR = 'Invariant Violation: Text strings must be rendered within a component'; -const PROFILER_ERROR = 'The above error occurred in the component'; +const PROFILER_ERROR = 'The above error occurred in the component'; beforeEach(() => { // eslint-disable-next-line no-console