-
-
Notifications
You must be signed in to change notification settings - Fork 1k
Open
Labels
cleanupRemove non-functional or unnecessary codeRemove non-functional or unnecessary codefeature requestgood first issueGood for newcomersGood for newcomersrefactorRefactor the code to improve its qualityRefactor the code to improve its qualitytestTesting applicationTesting application
Description
Is your feature request related to a problem? Please describe.
- For overall code health we need to lint the entire code base for this type of error
- This will make it easier for us to merge the develop branch into main on a regular basis
How to reproduce the error
Run this command:
pnpm exec eslint
Describe the solution you'd like
- Lint for the offending error
- Update the code base so that the error is fixed without suppressing the error
- All tests must pass and be valid
- Test code coverage levels must be maintained or improved
- No functionality must be affected
- Refactor the code if necessary
Additional context
/home/peter/code/GitHub/PalisadoesFoundation/talawa-admin/src/components/UserPortal/CommentCard/CommentCard.spec.tsx
1:1 error afterEach block exists but is missing mock cleanup. Add vi.clearAllMocks() or vi.restoreAllMocks() vitest-isolation/require-aftereach-cleanup
/home/peter/code/GitHub/PalisadoesFoundation/talawa-admin/src/components/UserPortal/OrganizationNavbar/OrganizationNavbar.spec.tsx
1:1 error afterEach block exists but is missing mock cleanup. Add vi.clearAllMocks() or vi.restoreAllMocks() vitest-isolation/require-aftereach-cleanup
/home/peter/code/GitHub/PalisadoesFoundation/talawa-admin/src/components/Venues/Modal/VenueModal.spec.tsx
1:1 error afterEach block exists but is missing mock cleanup. Add vi.clearAllMocks() or vi.restoreAllMocks() vitest-isolation/require-aftereach-cleanup
/home/peter/code/GitHub/PalisadoesFoundation/talawa-admin/src/screens/FundCampaignPledge/FundCampaignPledge.spec.tsx
1:1 error afterEach block exists but is missing mock cleanup. Add vi.clearAllMocks() or vi.restoreAllMocks() vitest-isolation/require-aftereach-cleanup
/home/peter/code/GitHub/PalisadoesFoundation/talawa-admin/src/screens/Leaderboard/Leaderboard.spec.tsx
1:1 error afterEach block exists but is missing mock cleanup. Add vi.clearAllMocks() or vi.restoreAllMocks() vitest-isolation/require-aftereach-cleanup
Metadata
Metadata
Assignees
Labels
cleanupRemove non-functional or unnecessary codeRemove non-functional or unnecessary codefeature requestgood first issueGood for newcomersGood for newcomersrefactorRefactor the code to improve its qualityRefactor the code to improve its qualitytestTesting applicationTesting application
Type
Projects
Status
Backlog
Status
Backlog