Skip to content

Commit ddc8da7

Browse files
committed
chore: filter expected errors
1 parent 8f3bda1 commit ddc8da7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/__tests__/render-string-validation.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ const originalConsoleError = console.error;
77

88
const VALIDATION_ERROR =
99
'Invariant Violation: Text strings must be rendered within a <Text> component';
10-
const PROFILER_ERROR = 'The above error occurred in the <Profiler> component';
10+
const PROFILER_ERROR = 'The above error occurred in the <Text> component';
1111

1212
beforeEach(() => {
1313
// eslint-disable-next-line no-console

0 commit comments

Comments
 (0)