How to define the environment to be used for a worker vitest?

Lets say I have mulitple environments:
vars = {CMS_API_URL="https://api.systems", ATI_API_URL="https://import.test.io"}

[env.test]
vars = {CMS_API_URL="http://localhost:64000", ATI_API_URL="http://localhost:64000", PASS: "not_required"}
vars = {CMS_API_URL="https://api.systems", ATI_API_URL="https://import.test.io"}

[env.test]
vars = {CMS_API_URL="http://localhost:64000", ATI_API_URL="http://localhost:64000", PASS: "not_required"}
How to force vitest to use the env.test environment?
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server