Use k6 LookupEnv instead of os.GetEnv and os.LookupEnv #822
Labels
breaking
PRs that need to be mentioned in the breaking changes section of the release notes
compatibility
k6 core compatibility
refactor
Milestone
k6-core upgraded to a new API in v0.43 to get the environment variables without depending on the operating system. We can switch to it to stay compatible and prevent possible clashes. It can also be helpful in testing.
We can update
os.Getenv
andos.LookupEnv
. Click on the links to see where we use them.Breaking change: The following are all the environment variables and options that the k6-browser module supports. The outdated XK6_* will be removed and aligned with the new browser options we have.
The text was updated successfully, but these errors were encountered: