mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
5029195d22
Summary: https://github.com/facebook/react-native/pull/25671 added a shallow unit test for `ReactFiberErrorDialog`, mocking out the (JS) `ExceptionsManager` module. This rewrites that test in terms of `NativeExceptionsManager` instead, so the integration with `ExceptionsManager` is also tested. Also adds tests for the behaviour of the `framesToPop` and `jsEngine` extended error fields, and for passing a frozen error object (seeing as we potentially mutate the error). Reviewed By: rickhanlonii Differential Revision: D16330341 fbshipit-source-id: 0b514d1c8f193a114748739ec31ddb4e06e4d2fd