forked fromvitest-dev/vscode
- Notifications
You must be signed in to change notification settings - Fork0
VS Code extension for Vitest
License
NotificationsYou must be signed in to change notification settings
githubnext/vitest-vscode
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Vitest extension for Visual Studio Code. Available onVisual Studio Marketplace.
- Run,debug, andwatch Vitest tests in Visual Studio Code.
- NX support (see theNX sample).
- An
@open
tag can be used when filtering tests, to only show the tests open in the editor.
- Visual Studio Code version >= 1.77.0.
- Vitest version >= v1.4.0
You can identify if your config is loaded by the extension withprocess.env.VITEST_VSCODE
and change the configuration accordingly.
vitest.packagePath
: The path to a custom Vitest'spackage.json
file. It will be used to resolve Vitest API paths.vitest.nodeExecutable
: This extension spawns another process and will use this value asexecPath
argument.vitest.nodeEnv
: Environment passed to the runner process in addition toprocess.env
vitest.debugExclude
: Excludes files matching specified glob patterns from debugging. Default:[\"<node_internals>/**\", \"**/node_modules/**\"]
Seehttps://vitest.dev/guide/workspace.html for monorepo support.
You can use VS Code commandadd folder to workspace
to add the sub directory. The extension should work fine.
About
VS Code extension for Vitest
Resources
License
Code of conduct
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
No releases published
Packages0
No packages published
Uh oh!
There was an error while loading.Please reload this page.
Languages
- TypeScript96.5%
- JavaScript3.5%