Jest-puppeteer: Consider moving config to jest config?

Created on 6 Apr 2018  路  5Comments  路  Source: smooth-code/jest-puppeteer

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!

Most helpful comment

All 5 comments

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.

facebook/jest#6486 was merged on June 20th.

Yes it is! Time to work on it!

See #111

Was this page helpful?
0 / 5 - 0 ratings

Related issues

binhxn picture binhxn  路  6Comments

testerez picture testerez  路  6Comments

melissachang picture melissachang  路  6Comments

songguohfut picture songguohfut  路  6Comments

ifiokjr picture ifiokjr  路  5Comments