Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide ability to customize a script before test execution #366

Open
4 tasks done
mwood23 opened this issue Apr 27, 2024 · 0 comments
Open
4 tasks done

Provide ability to customize a script before test execution #366

mwood23 opened this issue Apr 27, 2024 · 0 comments

Comments

@mwood23
Copy link

mwood23 commented Apr 27, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant