rluvaton / vitest-vs-code-plugin

Vitest VS Code plugin that actually work
https://marketplace.visualstudio.com/items?itemName=rluvaton.vscode-vitest
MIT License
5 stars 5 forks source link

How do I get the test to run with specific environment variables set? #13

Open fmaddenflx opened 4 months ago

fmaddenflx commented 4 months ago

In order for my test to run properly, I need certain environment variables set. As is, I can run the test fine outside of vscode, but when I use this extension, the test fails because a certain environment variable is not set.

rluvaton commented 1 week ago

You can open a PR to add the ability to use custom env vars :)

sounds like a good addition