mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
f20486cc77
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/48430 Changelog: [internal] This expectation currently prints a very generic message that is hard to parse, so this change improves it a bit to account for more cases. E.g.: * Before: "Expected <function> to throw" * After: "Expected <function> to throw with message 'foo', but threw with message 'bar'" Reviewed By: rshest Differential Revision: D67738146 fbshipit-source-id: 690f15971cec0e8a7b038eeacc9302c9f3edc323