Support vitest.rootPath
option
#151
Labels
p2-nice-to-have
Not breaking anything but nice to have (priority)
vitest.rootPath
option
#151
Is your feature request related to a problem? Please describe.
I want to use this extension even in cases where
vitest.config.ts
is not directly under the workspace root directory.For example, imagine a workspace with the following directory structure.
In this workspace, backend, frontend, and IaC code are clearly separated by directory. vitest is used only for frontend code, so
vitest.config.ts
is underui/
directory. Therefore, the extension must run vitest withui/
directory as the current directory, not the workspace root directory.However, this extension does not have an option to change the current directory where vitest runs.
Describe the solution you'd like
Add the
vitest.rootPath
option; vscode-jest has a similar option: https://github.com/jest-community/vscode-jest#rootpathDescribe alternatives you've considered
Nothing.
Additional context
Nothing.
The text was updated successfully, but these errors were encountered: