SIGN IN SIGN UP
facebook / react UNCLAIMED

The library for web and native user interfaces.

0 0 0 JavaScript

[Tests] `waitForThrow` should diff strings (#26568)

Currently, `waitForThrow` tries to diff the expected value against the
thrown value if it doesn't match. However if the expectation is a
string, we are not diffing against the thrown message. This commit makes
it so if we are matching against message we also diff against message.
J
Josh Story committed
657698e48d5b093b4ea5a7684e26d3fdd16695f2
Parent: dd53658
Committed by GitHub <[email protected]> on 4/7/2023, 9:14:08 PM