canvas-lms/ui/features/release_notes_edit
Jackson Howe ccf5eec83c Upgrade @testing-library/user-event to v14
Removes user-event from canvas-media since its not actually used there,
and bumps the version in canvas-rce as well. The only non-spec files
that this commit touches are: package.json, canvas-media/package.json,
canvas-rce/package.json, and yarn.lock. The remainder of the changes
are changes to jest spec files to resolve breaking changes in the
user-event API. The vast majority of the changes make usages of
user-event adhere to the new API which returns a promise, so calls
now need to be explicitely `await`ed. This change also exposed a
couple of synchronicity issues in test code which were rectified.

6 total specs were skipped across 3 files: action_button.test.tsx,
FilterNav.test.tsx, and CreateCourseModal.test.jsx. These will be
addressed in follow-up commits by owning teams who have more context
about how the underlying component should behave.

closes LF-1289
flag = none

Test plan: specs pass

Change-Id: If8f9db685593e906da9b2af5ae8d39fc63fe8c7c
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/340719
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Ed Schiebel <eschiebel@instructure.com>
QA-Review: Jackson Howe <jackson.howe@instructure.com>
Product-Review: Jackson Howe <jackson.howe@instructure.com>
2024-02-23 20:10:15 +00:00
..
react Upgrade @testing-library/user-event to v14 2024-02-23 20:10:15 +00:00
index.jsx move .js files with JSX to .jsx extension 2023-07-24 14:59:37 +00:00
package.json Improve assocation of feature folders to teams 2023-12-08 12:42:47 +00:00