You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I haven't tried this repo yet, but I was scanning thru the code.
As of now, only config.serverOptions is used inside global.ts, but the config is read from a jest-playwright config (either default file path or specified via ENV variable). In the docs says you can alternatively specify testEnvironmentOptions['jest-playwright'], which I think it's a great idea (one that jest-puppeteer lacks). This however isn't correct for the case I just mentioned.
Activity
Rendez commentedon Mar 9, 2021
One solution could be what is proposed here: jestjs/jest#9930
mmarkelov commentedon Mar 9, 2021
@Rendez yes& This is true. We have TODO here that there is problem in this case.
jest-playwright/src/global.ts
Line 29 in 13acc49
This is something that related to Jest and i agree that we should put in Readme
Rendez commentedon Mar 9, 2021
Feel free to close this issue when ready, and let's hope future versions of jest globals ship that fix some time.