Make global metadata available from the workers
noomorph opened this issue Β· comments
Is your feature request related to a problem? Please describe.
At the moment, the global metadata is disconnected from the workers.
The synchronization is one-sided: worker context β reporter context.
Sometimes we need to get some information from the reporter in advance.
Describe the solution you'd like
A worker should be able to get the global metadata upon initialization.
Describe alternatives you've considered
Pass the data via reporter config.
In Jest 28+, it is possible to read reporter config options from the globalConfig which is passed into test environments, but this does not cover the entirety of cases.
π This issue has been resolved in version 1.1.0 π
The release is available on:
Your semantic-release bot π¦π