How to write own Jest preset with common beforeAll and afterAll?
I'm quite confused, seems that there is no related documentation.
How to write own Jest preset with common beforeAll and afterAll?
I'm quite confused, seems that there is no related documentation.
There is the environment that you can extend this way:
JEST config:
The
jest.myEnv.js: