Skip to content
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

I would like to pass env variables to the target script #1

Open
idandagan opened this issue Feb 13, 2018 · 2 comments
Open

I would like to pass env variables to the target script #1

idandagan opened this issue Feb 13, 2018 · 2 comments

Comments

@idandagan
Copy link

I would like to be able to direct e2e-helper to propagate env variables to the target script

@osher
Copy link
Owner

osher commented Jul 3, 2018

oups. silly me.
it's actually supported, but not documented.

All you have to do is provide options.env as a map of the settings you wish to pass.
the options you pass end up as ctx in the following line:
https://github.com/osher/e2e-helper/blob/master/lib/index.js#L260

I'm leaving the issue open until I'll fix the docs

@osher
Copy link
Owner

osher commented Jul 3, 2018

omg. it's even tested, just not documented ... 😛

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants