-
-
Notifications
You must be signed in to change notification settings - Fork 6.5k
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
[Docs] Please document what ENV variables are set by Jest #8856
Comments
You can use |
Oh, after you said that I explicitly searched docs for it and yes, indeed, under "Getting Started" > "Using Babel" > "Making your Babel config jest-aware" that's mentioned. Thank you, my current problem is solved! I will leave this ticket open, because I do use also |
Pretty sure that's also documented somewhere, but I agree an overview
somewhere might make sense.
…On Tue, 20 Aug 2019, 10:32 Akuukis, ***@***.***> wrote:
Oh, after you said that I explicitly searched docs for it and yes, indeed,
under "Getting Started" > "Using Babel" > "Making your Babel config
jest-aware" that's mentioned. Thank you, my current problem is solved!
I will leave this ticket open, because I do use also JEST_WORKER_ID and I
believe it should appear in docs to understand whenever and how I should
use it, as well I'm not aware of other global variables.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#8856>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AD2TI53T7S34NBMMCA2X5S3QFOTYVANCNFSM4INRPI6Q>
.
|
Found it :D https://jestjs.io/docs/en/dynamodb |
@SimenB This is no longer the case since the update to babel@7 😞 |
I'd love to help out with this. @jeysal: do you have a thought as to where in the docs the list of environment variables should be? I was thinking maybe a new page under the "API Reference" section? Or just add it to Getting Started, although it doesn't seem like a getting-started thing? Maybe add a section to Globals? |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
🚀 Feature Proposal
Please document what ENV variables are set by Jest, and whenever users are supposed to use them or not.
Motivation
I'm trying to detect whenever runtime is within Jest environment or not.
Example
Jest sets the following ENV variables:
JEST_WORKER_ID
[number] Id of the Jest worker. Use it for ...The text was updated successfully, but these errors were encountered: