-
-
Notifications
You must be signed in to change notification settings - Fork 842
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
Refactor : src/components/CheckIn/CheckInWrapper.test.tsx from Jest to Vitest #2709
Refactor : src/components/CheckIn/CheckInWrapper.test.tsx from Jest to Vitest #2709
Conversation
WalkthroughThe pull request focuses on refactoring the Changes
Assessment against linked issues
Possibly related issues
Suggested labels
Suggested reviewers
Poem
📜 Recent review detailsConfiguration used: .coderabbit.yaml 📒 Files selected for processing (1)
🧰 Additional context used📓 Learnings (1)📓 Common learnings
🔇 Additional comments (2)src/components/CheckIn/CheckInWrapper.spec.tsx (2)
The added JSDoc comment block clearly explains the purpose and scope of the test suite, which improves maintainability.
The change from 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
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop-postgres #2709 +/- ##
====================================================
+ Coverage 82.81% 86.29% +3.47%
====================================================
Files 295 312 +17
Lines 7274 8134 +860
Branches 1592 1841 +249
====================================================
+ Hits 6024 7019 +995
+ Misses 1012 943 -69
+ Partials 238 172 -66 ☔ View full report in Codecov by Sentry. |
139e985
into
PalisadoesFoundation:develop-postgres
What kind of change does this PR introduce?
Migrated tests for checkInWrapper component from Jest to Vitest. Updated test framework and adjusted test implementations accordingly. All tests now use Vitest for consistent testing environment and improved performance.
Issue Number:
Fixes #2495
Did you add tests for your changes?
yes
Snapshots/Videos:
Summary by CodeRabbit
Documentation
CheckInWrapper
component.Style
test
toit
for consistency with common testing conventions.