-
Notifications
You must be signed in to change notification settings - Fork 24.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
RN: Fix
useMergeRefs-test.js
(#47076)
Summary: Pull Request resolved: #47076 The Jest unit tests for `useMergeRefs` were incorrectly implemented, leading to missing expected values. The root cause is that the test helpers were rendering to new roots instead of reusing the same root. This refactors the test helpers to be simpler and easier to debug, and then fixes the bug described above. Changelog: [Internal] Reviewed By: lunaleaps Differential Revision: D64498741 fbshipit-source-id: f0dd65f89e0c13721e83a8e38a699bc688812a0e
- Loading branch information
1 parent
9406a09
commit fa0358a
Showing
1 changed file
with
124 additions
and
159 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters