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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

cli: set NODE_ENV to test when running tests if not already set #2214

Merged
merged 1 commit into from
Sep 1, 2020

Conversation

Rugvip
Copy link
Member

@Rugvip Rugvip commented Sep 1, 2020

Setting NODE_ENV to test is a feature you only get if you're executing the jest via it's own CLI. In fact it's the only feature you don't get 馃槄

@Rugvip Rugvip requested a review from a team as a code owner September 1, 2020 12:44
Copy link
Member

@freben freben left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is kinda amusing :)

@Rugvip Rugvip merged commit 12e6d6e into master Sep 1, 2020
@Rugvip Rugvip deleted the rugvip/testenv branch September 1, 2020 14:06
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

Successfully merging this pull request may close these issues.

None yet

2 participants