-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
chore: update vscode launch tasks to use vitest #11076
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
Thanks for the PR, @43081j! 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. |
✅ Deploy Preview for typescript-eslint ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
View your CI Pipeline Execution ↗ for commit 6f7c4be.
☁️ Nx Cloud last updated this comment at |
Tried this out locally - for the most part, it works great! One thing that's kind of clunky though is that debugging a test case can cause it to fail due to test timeouts. Is there a way to fix that? |
maybe we just need to disable the timeout in the task? as in |
Updates the launch task to use vitest for running tests.
Nice, yeah the Also I tried all the options at https://vitest.dev/guide/debugging.html#vs-code and it didn't seem to solve it. Oh well! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lovely! Thank you!
5c2f474
into
typescript-eslint:main
Updates the launch task to use vitest for running tests.
Note that I didn't (yet?) enable single thread mode in vitest as it isn't quite the equivalent to jest's
runInBand
. From what I understand, vitest will always run tests in another thread even in single thread mode (as in there will be one process running vitest, and one running tests).I also noticed there was a duplicate path in the existing skip lists, so have updated that.
cc @kirkwaiblinger @aryaemami59
PR Checklist