Skip to content

[Docs] Please document what ENV variables are set by Jest #8856

@Akuukis

Description

@Akuukis

🚀 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 ...
  • ...

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions