Enhance ContributorsClient with Error Resilience Tests#8098
Enhance ContributorsClient with Error Resilience Tests#8098Shikhartiwari967 wants to merge 2 commits into
Conversation
|
@Shikhartiwari967 is attempting to deploy a commit to the jhasourav07's projects Team on Vercel. A member of the Team first needs to authorize it. |
|
This pull request introduces important error resilience tests for the ContributorsClient component, which is a great step towards improving the stability of our application. It aligns well with our previous decision to implement similar tests for the ContributorsSearch component, ensuring that we maintain a robust user experience even in the face of errors. Thank you for your contributions, and I look forward to your updates! |
|
🚨 Hey @Shikhartiwari967, the CI Pipeline is failing on this PR and it has been marked as Please fix the issues before this can be reviewed. Here's how: 1. Run checks locally before pushing: npm run format:check # Check Prettier formatting
npm run lint # Run ESLint
npm run typecheck # TypeScript type check
npm run test # Run unit tests (Vitest)
npm run build # Verify production build passes2. Auto-fix common issues: npm run format # Auto-fix formatting with Prettier
npm run lint -- --fix # Auto-fix lint errors where possible3. Check the full failure log here: Once you push a fix and the CI passes, the |
|
Hi @Aamod007 Sir, I verified this test locally: ✅ npm test -- ContributorsClient.error-resilience.test.tsx passes (5/5 tests) The CI failure appears to come from existing TypeScript errors in: app/generator/components/EditorPanel.type-compiler.test.tsx These files are unrelated to the changes in this PR. |
|
Hi @Aamod007 sir, review it. |
Description
Fixes #6853
Changes
ContributorsClient.error-resilience.test.tsxPillar
Visual Preview
N/A (Test-only changes)
Checklist before requesting a review:
CONTRIBUTING.mdfile.npm run lintlocally.README.mdif required (not applicable).