Extension Details

- Vitest
- by SLProductions
- 4 Recent Installs | 58 Total Installs
- Vitest test framework integration
- Repository
- Bug Reports
-
Launch Subprocesses
-
This extension is allowed to:
Readme
Vitest Extension
This extension provides integration with the Vitest javascript testing framework.
It displays tests in a sidebar and provides inline issue reports for failed tests.


Adapted from Cameron Little's Jest Extension.
Requirements
- Vitest@3
Configuration
Workspace and global preferences support configuring a custom vitest executable. Use this, for example, if you install vitest globally or install node dependencies in a subdirectory of your project.
Workspace preferences support configuring a custom vitest working directory. Use this, for example, if your nodejs project is in a subdirectory of your project.
Release Notes
Changelog
0.9.2
- Added version check (requires vitest@3 onwards)
- updated tests
- added more summary information about the run (like vitest cli tool)
- updated dependencies
v0.9.0
- Cloned from jest extension by Cameron Little
- Auto-unveil tests with errors
Known bugs
- not all tests are reported on partial run (workaround: set to run all tests)
- issues are not always reported
- syntax issues in tests can stop tree view populating
- requires vitest@3