-
-
Notifications
You must be signed in to change notification settings - Fork 892
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
Refactored src/components/OrgPeopleListCard/OrgPeopleListCard.test.tsx #2814 #2920
Refactored src/components/OrgPeopleListCard/OrgPeopleListCard.test.tsx #2814 #2920
Conversation
WalkthroughThe pull request involves migrating the test file Changes
Possibly related issues
Possibly related PRs
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/OrgPeopleListCard/OrgPeopleListCard.spec.tsx (2)
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 #2920 +/- ##
=====================================================
+ Coverage 60.19% 87.99% +27.80%
=====================================================
Files 296 316 +20
Lines 7373 8265 +892
Branches 1610 1810 +200
=====================================================
+ Hits 4438 7273 +2835
+ Misses 2690 780 -1910
+ Partials 245 212 -33 ☔ View full report in Codecov by Sentry. |
1475df0
into
PalisadoesFoundation:develop-postgres
Refactored src/components/OrgPeopleListCard/OrgPeopleListCard.test.tsx to
src/components/OrgPeopleListCard/OrgPeopleListCard.spec.tsx
Issue: #2814: #2814
Changes Implemented:
Refactored the testing framework from Jest to Vitest in src/components/OrgPeopleListCard/OrgPeopleListCard.test.tsx.
Updated import statements, mocking methods, and assertions to align with Vitest conventions.
Verified compatibility with the existing codebase using Vitest.
OrgPeopleListCard.test.tsx → OrgPeopleListCard.spec.tsx to follow the naming convention for Vitest.
Refactor
src/components/OrgPeopleListCard/OrgPeopleListCard.test.tsx
from Jest to Vitest #2814Other information
I have read the previous refactor PR and tried to keep things as uniform as possible.
Please suggest any other changes if required.
Summary by CodeRabbit
OrgPeopleListCard
component tests.