chore: filter expected errors

This commit is contained in:
Maciej Jastrzebski
2024-10-16 13:06:34 +02:00
parent 8f3bda19e8
commit ddc8da79c2
@@ -7,7 +7,7 @@ const originalConsoleError = console.error;
const VALIDATION_ERROR =
'Invariant Violation: Text strings must be rendered within a <Text> component';
const PROFILER_ERROR = 'The above error occurred in the <Profiler> component';
const PROFILER_ERROR = 'The above error occurred in the <Text> component';
beforeEach(() => {
// eslint-disable-next-line no-console