-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Add ability to set environment variables for the process in the AVA config #2112
Comments
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
@0maxxam0 has funded $10.00 to this issue.
|
I've found Let's say you have some NPM script like this that works only on Linux or Mac:
All you need to do is just slap
Now it works on Windows too. If you've already tried this and it didn't work for you, could you go into more details about your particular setup/workflow? |
@grnch I know about |
@IssueHunt has funded $80.00 to this issue.
|
@sindresorhus has rewarded $81.00 to @alexisfontaine. See it on IssueHunt
|
I'd like to see a config property called
environmentVariables
that lets the user set environment variables that are injected into the test file processes. I have often needed to set some test-only environment variables, but it's not easy to do this in a cross-platform matter.IssueHunt Summary
Sponsors (Total: $90.00)
Tips
The text was updated successfully, but these errors were encountered: