-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(react): update to React 18 (#13332)
* feat(react): update to React 18 * test: migrate AspectRatio test to RTL * test(CodeSnippet): update tests to RTL * test(FileUploaderButton): update tests to RTL * test: update tests to use rtl * test: update fileuploader tests to use RTL * test(FileUploader): update tests to RTL * test(FileUploader): remove test utils * feat: update File Uploader RTL * test: update fileuploader tests to use RTL * refactor: move ErrroBoundary test to RTL * test: update icon test to use RTL * chore: @testing-library/dom is not needed and recommended to not be installed alongside framework packages * fix(user-event): update deprecated keys * test: await all userEvent calls * fix: tests * test: fix structureList & Switch react18 tests * test: fix Copy & CopyButton react18 tests * test(MultiSelect): use userEvent instead of react dom utils * test(useDisclosure): refactor test to work with react 18 * test: fix FileUploader & FileUploaderButton react18 tests * fix(Modal): use match function to match enter & escape keys * test(ErrorBoundary): address lint issue * test(useDelayedState): use act from rtl instead of react-dom-utils * test(Treeview): make test work in react 18 * fix(Copy): remove console log * test(IconSwitch): await userEvent calls --------- Co-authored-by: Francine Lucca <francinelucca@hotmail.com> Co-authored-by: TJ Egan <tw15egan@gmail.com> Co-authored-by: Alessandra Davila <adavila91@gmail.com> Co-authored-by: Andrea N. Cardona <cardona.n.andrea@gmail.com>
- Loading branch information
1 parent
51bc361
commit 7b9a05b
Showing
127 changed files
with
1,022 additions
and
1,065 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file removed
BIN
-474 KB
.yarn/cache/@testing-library-dom-npm-8.11.3-bcb55609ff-2245d254b6.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file renamed
BIN
+41.5 KB
...-dom-npm-5.16.3-150af3dca0-2d7b767bc1.zip → ...-dom-npm-5.16.5-b6d1f4e02f-94911f901a.zip
Binary file not shown.
Binary file removed
BIN
-848 KB
.yarn/cache/@testing-library-react-npm-12.1.4-8a17fe6c11-944c5f8d4a.zip
Binary file not shown.
Binary file added
BIN
+1000 KB
.yarn/cache/@testing-library-react-npm-14.0.0-84fecd033b-4a54c8f56c.zip
Binary file not shown.
Binary file removed
BIN
-74.5 KB
.yarn/cache/@testing-library-user-event-npm-13.5.0-1ff89b703a-16319de685.zip
Binary file not shown.
Binary file added
BIN
+215 KB
.yarn/cache/@testing-library-user-event-npm-14.4.3-2d1a75355f-852c48ea6d.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file renamed
BIN
+39.3 KB
...tring-npm-1.4.4-59a2091d3f-54e31238a6.zip → ...tring-npm-1.5.0-3860794e30-1ee98b4580.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Oops, something went wrong.