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"}


How to force vitest to use the env.test environment?
Was this page helpful?