Just an idea, not sure how feasible it is, but it would be great if I could just put my headless configuration inside my jest.config.js file instead of creating a new config file just for that.
However, totally worth it to use this preset!
Hello, unfortunately this is not possible because I don't have access to config in globalSetup and globalTeardown. It will require a change in Jest, I will probably submit an issue about that.
Wait and see https://github.com/facebook/jest/issues/5957
facebook/jest#6486 was merged on June 20th.
Yes it is! Time to work on it!
See #111
Most helpful comment
Wait and see https://github.com/facebook/jest/issues/5957