Skip to content
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

VSCode Jest Extensions #3868

Closed
Cammisuli opened this issue Oct 5, 2020 · 2 comments
Closed

VSCode Jest Extensions #3868

Cammisuli opened this issue Oct 5, 2020 · 2 comments
Labels
outdated scope: testing tools Issues related to Cypress / Jest / Playwright / Vitest support in Nx stale type: question / discussion

Comments

@Cammisuli
Copy link
Member

With the introduction of Nx 10.3.0, we enabled support to run Jest tests within the VSCode UI powered by Jest extensions. By default we recommend use this extension:
https://marketplace.visualstudio.com/items?itemName=firsttris.vscode-jest-runner

We recommend this extension because it allows you to run 1 Jest test/suite/file at a time. This scales better with hundreds of Nx projects.

The most popular extension (https://marketplace.visualstudio.com/items?itemName=Orta.vscode-jest) will work, but keep in mind that it would run all tests in the workspace by default. This means that if there are 100 projects, 100 test suites will be ran. This can have some potential performance issues if your computer isn't up to the task of running all those tests.

If you're looking for a more "Webstorm" ui, we can also recommend this extension:
https://marketplace.visualstudio.com/items?itemName=kavod-io.vscode-jest-test-adapter

@Cammisuli Cammisuli added type: question / discussion scope: testing tools Issues related to Cypress / Jest / Playwright / Vitest support in Nx labels Oct 5, 2020
@github-actions
Copy link

github-actions bot commented Jan 3, 2021

This issue has been automatically marked as stale because it hasn't had any recent activity. It will be closed in 14 days if no further activity occurs.
If we missed this issue please reply to keep it active.
Thanks for being a part of the Nx community! 🙏

@github-actions
Copy link

This issue has been closed for more than 30 days. If this issue is still occuring, please open a new issue with more recent context.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 24, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
outdated scope: testing tools Issues related to Cypress / Jest / Playwright / Vitest support in Nx stale type: question / discussion
Projects
None yet
Development

No branches or pull requests

1 participant