vitest-dev / vscode

VS Code extension for Vitest
https://vitest.dev/vscode
MIT License
736 stars 83 forks source link

Provide ability to customize a script before test execution #366

Open mwood23 opened 4 months ago

mwood23 commented 4 months ago

Clear and concise description of the problem

As a developer using Vitest I want to be able to customize the command line script used by vitest dev to integrate it with my stack. This prevents developers from using SST since it relies on sst bind vitest for environmental variables.

https://docs.sst.dev/resource-binding#testing

Suggested solution

I know commandLine used to be an option but it was removed. Any chance of adding it back? If not, could we provide something that's render before and after the vitest process to setup the environment?

Alternative

No response

Additional context

No response

Validations