Refactor src/components/EventStats/*
from Jest to Vitest
#2794
Labels
good first issue
Good for newcomers
refactor
Refactor the code to improve its quality
test
Testing application
Is your feature request related to a problem? Please describe.
This files in this directory and all its subdirectories are currently tested using Jest. As part of our migration to Vitest, we need to refactor all these files' test cases to align with Vitest's syntax and features.
Files:
src/components/EventStats/EventStats.test.tsx
from Jest to Vitestsrc/components/EventStats/EventStatsWrapper.test.tsx
from Jest to Vitestsrc/components/EventStats/Statistics/AverageRating.test.tsx
from Jest to Vitestsrc/components/EventStats/Statistics/Feedback.test.tsx
from Jest to Vitestsrc/components/EventStats/Statistics/Review.test.tsx
from Jest to VitestAcceptance Criteria
For each
*.test.ts
and*.test.tsx
file found under the parent:.test.*
suffix to a.spec.*
suffixnpm run test:vitest
Additional context
https://github.com/PalisadoesFoundation/talawa-admin/pull/2457/files#diff-9a5a35cf8d7f02b2bba90905714b762560579c4789e9eb4cebb4607980aa3d93
https://vitest.dev/
Potential internship candidates
Please read this if you are planning to apply for a Palisadoes Foundation internship
The text was updated successfully, but these errors were encountered: