-
-
Notifications
You must be signed in to change notification settings - Fork 802
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fixed:#2072 Upgraded package @testing-library/user-event from 12.8.3 to 14.5.2 #3122
base: develop-postgres
Are you sure you want to change the base?
Conversation
Note Currently processing new changes in this PR. This may take a few minutes, please wait... ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (82)
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
Documentation and Community
|
Our Pull Request Approval ProcessThanks for contributing! Testing Your CodeRemember, your PRs won't be reviewed until these criteria are met:
Our policies make our code better. ReviewersDo not assign reviewers. Our Queue Monitors will review your PR and assign them.
Reviewing Your CodeYour reviewer(s) will have the following roles:
CONTRIBUTING.mdRead our CONTRIBUTING.md file. Most importantly:
Other
|
@gurramkarthiknetha please fix the conflicting file changes |
Okay , please review the pr #3012 |
"jest-location-mock": "^2.0.0", | ||
"jest-preview": "^0.3.1", | ||
"jest-preview": "^0.2.3", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why downgraded this ?
What kind of change does this PR introduce?
This PR upgrades the @testing-library/user-event package from version 12.8.3 to 14.5.2 to resolve dependency issues, align with the latest features, and improve stability.
Issue Number:
Fixes #2072
Did you add tests for your changes?
Yes, existing tests were updated to comply with the new syntax and methods introduced in the upgraded version. Additional tests were added where necessary.
Snapshots/Videos:
Not applicable as this change primarily involves a dependency upgrade and test adjustments.
If relevant, did you update the documentation?
No updates were necessary for documentation as this is a dependency change that does not impact external documentation.
Summary
Upgraded @testing-library/user-event to 14.5.2.
Updated test cases to reflect new syntax and features.
Verified all tests pass to ensure compatibility.
Removed any redundant imports and resolved circular dependencies as per the release notes.
Does this PR introduce a breaking change?
No, this change does not introduce breaking changes to the application itself. It updates internal testing dependencies, ensuring they function correctly.
Other information
Release notes for 14.5.2 indicate resolved bugs, added named exports, and type improvements that enhance compatibility and developer experience.
Have you read the contributing guide?
Yes, I have reviewed and followed the contributing guidelines.
Summary by CodeRabbit
Based on the comprehensive summary, here are the release notes:
Dependencies
@testing-library/user-event
from^12.1.10
to^14.5.2
@testing-library/dom
at version^10.4.0
jest-preview
from^0.3.1
to^0.2.3
Testing Improvements
userEvent
imports from default to named imports across all test filesawait
touserEvent
method callsThese changes primarily focus on updating testing libraries and improving the robustness of test suites by ensuring proper handling of asynchronous user interactions.