-
-
Notifications
You must be signed in to change notification settings - Fork 756
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
Migrated src/components/ContriStats/ContriStats.test.tsx from Jest to Vitest. #2855
Migrated src/components/ContriStats/ContriStats.test.tsx from Jest to Vitest. #2855
Conversation
WalkthroughThis pull request focuses on migrating the test suite for the Changes
Assessment against linked issues
Possibly related issues
Possibly related PRs
Suggested labels
Poem
📜 Recent review detailsConfiguration used: .coderabbit.yaml 📒 Files selected for processing (1)
🔇 Additional comments (1)src/components/ContriStats/ContriStats.spec.tsx (1)
Lingering Jest dependencies need to be cleaned up The codebase still contains multiple Jest-related dependencies and configurations that should be removed as part of the migration to Vitest:
🔗 Analysis chainMigration to Vitest confirmed. You can run the following script to look for any references to “jest” in the repository: 🏁 Scripts executedThe following scripts were executed for the analysis: Script: #!/bin/bash
# Description: Search the entire repo for references to "jest"
rg 'jest' -A 5
Length of output: 71600 ⛔ Skipped due to learnings
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 #2855 +/- ##
=====================================================
+ Coverage 65.12% 87.80% +22.67%
=====================================================
Files 296 313 +17
Lines 7369 8222 +853
Branches 1609 1854 +245
=====================================================
+ Hits 4799 7219 +2420
+ Misses 2336 804 -1532
+ Partials 234 199 -35 ☔ View full report in Codecov by Sentry. |
@coderabbitai review |
✅ Actions performedReview triggered.
|
@mandeepnh5 Use this instead @coderabbitai full review |
@palisadoes: Understood. I’ll redo a complete review of all changes. ✅ Actions performedFull review triggered. |
1eab2c1
into
PalisadoesFoundation:develop-postgres
What kind of change does this PR introduce?
This PR will migrate the src/components/ContriStats/ContriStats.test.tsx from Jest to Vitest.
Issue Number:
Fixes #2834
Did you add tests for your changes?
Yes
Snapshots/Videos:
If relevant, did you update the documentation?
No
Does this PR introduce a breaking change?
No
Have you read the contributing guide?
Yes
Summary by CodeRabbit
Summary by CodeRabbit
vitest
testing functions to theContriStats
component test suite.