VSCode Jest Extensions #3868
Labels
outdated
scope: testing tools
Issues related to Cypress / Jest / Playwright / Vitest support in Nx
stale
type: question / discussion
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
The text was updated successfully, but these errors were encountered: