-
-
Notifications
You must be signed in to change notification settings - Fork 811
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
Migrate Testing Framework from Jest to Vitest #2456
Comments
@prayanshchh can you assign this to me as i have previously worked with jest |
I will setup the initial configuration, there will be issues following this to migrate to vitest |
@prayanshchh There are multiple issues with the PR related to this issue. Large portions of GitHub Actions were overwritten. The quality of our PR process has been very negatively affected. Please work on getting this resolved. |
This issue did not get any activity in the past 10 days and will be closed in 180 days if no update occurs. Please check if the develop branch has fixed it and report again or close the issue. |
Is your feature request related to a problem? Please describe.
We are planning to migrate the testing framework in the admin repository from Jest to Vitest to leverage Vitest's compatibility with Vite and improved performance. The initial step involves setting up Vitest alongside Jest and testing with one file. If successful, further issues will be created to migrate tests incrementally.
Describe the solution you'd like
Set Up Vitest Configuration
Add an initial configuration for Vitest.
Ensure compatibility with the existing Vite setup in the admin repo.
Keep Jest configuration intact for now.
Write a test for a single file using Vitest to verify the setup.
Ensure the test passes without any issues.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Approach to be followed (optional)
A clear and concise description of approach to be followed.
Additional context
Here the docs for reference
https://vitest.dev/guide/
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: