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.
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?
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