Skip to content

Pass the environment variables to the test env, for example CI #94

@whitphx

Description

@whitphx

When tests are run by vscode-test-web, process.env is empty.
This is inconvenient, for example, when the CI envvar is checked in the test files to detect the GitHub Actions environment.

It would be nice if there is an option to pass all or some of the environment variables from the parent env to the browser env launched by this library, or an option to set arbitrary envvars in the test env.

Metadata

Metadata

Assignees

Labels

feature-requestRequest for new features or functionality

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions