Skip to content

chore(typescript-estree): migrate from jest to vitest #10679

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

Conversation

aryaemami59
Copy link
Contributor

PR Checklist

Overview

@typescript-eslint
Copy link
Contributor

Thanks for the PR, @aryaemami59!

typescript-eslint is a 100% community driven project, and we are incredibly grateful that you are contributing to that community.

The core maintainers work on this in their personal time, so please understand that it may not be possible for them to review your work immediately.

Thanks again!


🙏 Please, if you or your company is finding typescript-eslint valuable, help us sustain the project by sponsoring it transparently on https://opencollective.com/typescript-eslint.

Copy link

netlify bot commented Jan 18, 2025

Deploy Preview for typescript-eslint ready!

Name Link
🔨 Latest commit d043fbe
🔍 Latest deploy log https://app.netlify.com/sites/typescript-eslint/deploys/67fd10a9ce9ca20008c365ad
😎 Deploy Preview https://deploy-preview-10679--typescript-eslint.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 97 (🟢 up 9 from production)
Accessibility: 100 (no change from production)
Best Practices: 100 (no change from production)
SEO: 98 (no change from production)
PWA: 80 (no change from production)
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

nx-cloud bot commented Jan 18, 2025

View your CI Pipeline Execution ↗ for commit d043fbe.

Command Status Duration Result
nx test parser ✅ Succeeded 9s View ↗
nx run types:build ✅ Succeeded <1s View ↗
nx typecheck ast-spec ✅ Succeeded 5s View ↗
nx run-many --target=build --exclude website --... ✅ Succeeded 1m 9s View ↗
nx run scope-manager:test -- --coverage ✅ Succeeded 12s View ↗
nx run-many --target=clean ✅ Succeeded 19s View ↗
nx test utils ✅ Succeeded 13s View ↗
nx run typescript-eslint:test -- --coverage ✅ Succeeded 3s View ↗
Additional runs (26) ✅ Succeeded ... View ↗

☁️ Nx Cloud last updated this comment at 2025-04-14 14:21:22 UTC

Copy link

nx-cloud bot commented Jan 18, 2025

View your CI Pipeline Execution ↗ for commit c401e63.

Command Status Duration Result
nx run-many --target=clean ✅ Succeeded 10s View ↗

☁️ Nx Cloud last updated this comment at 2025-01-18 14:24:50 UTC

Copy link

codecov bot commented Jan 18, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 81.20%. Comparing base (deacba9) to head (d043fbe).
Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #10679      +/-   ##
==========================================
- Coverage   86.44%   81.20%   -5.24%     
==========================================
  Files         497      498       +1     
  Lines       19056    22927    +3871     
  Branches     4806     4985     +179     
==========================================
+ Hits        16473    18618    +2145     
- Misses       2285     4113    +1828     
+ Partials      298      196     -102     
Flag Coverage Δ
unittest 81.20% <ø> (-5.24%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

see 34 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@aryaemami59 aryaemami59 force-pushed the chore/typescript-estree-vitest-migration branch 3 times, most recently from 3da52df to aeae2f8 Compare January 21, 2025 17:21
Copy link
Member

@JoshuaKGoldberg JoshuaKGoldberg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome progress! Really exciting to see a Vitest success report running yarn test locally. 🔥

Left some questions - I think most of the blockers are around _"why?"_s.

@aryaemami59 aryaemami59 force-pushed the chore/typescript-estree-vitest-migration branch 2 times, most recently from 8b6d927 to 4a4d5e7 Compare January 29, 2025 11:31
@aryaemami59 aryaemami59 force-pushed the chore/typescript-estree-vitest-migration branch 17 times, most recently from 0fca021 to f66900d Compare February 3, 2025 15:51
@JoshuaKGoldberg JoshuaKGoldberg merged commit dfe51af into typescript-eslint:main Apr 14, 2025
58 of 59 checks passed
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 22, 2025
@aryaemami59 aryaemami59 deleted the chore/typescript-estree-vitest-migration branch April 23, 2025 00:18
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants