react/packages/internal-test-utils
Josh Story 657698e48d
[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.
2023-04-07 14:14:08 -07:00
..
__tests__ Don't prerender siblings of suspended component (#26380) 2023-03-21 10:24:56 -04:00
ReactInternalTestUtils.js [Tests] `waitForThrow` should diff strings (#26568) 2023-04-07 14:14:08 -07:00
enqueueTask.js [Internal tests] Close MessageChannel port to prevent leak (#26357) 2023-03-09 11:20:07 -05:00
index.js New internal testing helpers: waitFor, waitForAll, waitForPaint (#26285) 2023-03-02 21:58:11 -05:00
internalAct.js Update Suspense fuzz tests to use `act` (#26498) 2023-03-28 14:40:28 -04:00
package.json New internal testing helpers: waitFor, waitForAll, waitForPaint (#26285) 2023-03-02 21:58:11 -05:00