We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
the following documentation is missleading, but obvious passing envs to the app ist not possible, when the app is already initialized.
var Session = require('supertest-session')({ app: require('../../path/to/app'), envs: { NODE_ENV: 'development' } });
what you have to do work with envs consistently:
process.env['NODE_ENV'] = "development"; var Session = require('supertest-session')({ app: require('../../path/to/app'), });
I would suggest to depreciate the use of your envs, cause the status of envs changes over runtime.
The text was updated successfully, but these errors were encountered:
Absolutely! If you're willing to submit a PR to this effect, it should be a pretty uncontroversial merge.
Sorry, something went wrong.
5b39134
No branches or pull requests
the following documentation is missleading, but obvious passing envs to the app ist not possible, when the app is already initialized.
what you have to do work with envs consistently:
I would suggest to depreciate the use of your envs, cause the status of envs changes over runtime.
The text was updated successfully, but these errors were encountered: