mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/43378 ## Overview I noticed while running this test, that there's an existing `console.error` to remove a file from the `FILES_WITH_KNOWN_ERRORS` list, but the tests pass despite the error. This happens because the `console.error` throws to fail the test, but this `console.error` is inside a try/catch, so the error is swallowed. This diff moves the check to a finally, which fails the test. I also fixed the `FILES_WITH_KNOWN_ERRORS` list. Changelog: [Internal] Reviewed By: yungsters Differential Revision: D54587062 fbshipit-source-id: c46e98326ef6654452871337364d7e66ff204e2c