mirror of
https://github.com/callstack/react-native-testing-library.git
synced 2026-09-18 23:09:04 +08:00
chore: filter expected errors
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user