mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
6ae49ee9e3
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/47994 Changelog: [internal] This adds a few hacks to improve errors messages in Fantom tests. Before, we were only logging the error message. After this, we log the message and the full (unsymbolicated for now) stack, including a pretty print of the exact location of the error. For errors thrown from `expect` functions, the stack trace is modified to remove the "infra" lines from the stack. The next step is symbolicating the errors using source maps generated by metro. Reviewed By: javache Differential Revision: D66555063 fbshipit-source-id: 17bd23cb30429a17e99f13f934c45e001120bbb3