Skip to main content
Version: 29.6

Environment Variables

Jest sets the following environment variables:


Set to 'test' if it's not already set to something else.


Each worker process is assigned a unique id (index-based that starts with 1). This is set to 1 for all tests when runInBand is set to true.