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
To run to collect coverage in the test tear down. However we get "window.collectIstanbulCoverage is not a function" errors in electron. as far as I could see there was no obvious work around from google, or why the exposeFunction isn't working in an electron context, so for now we have GENERATE_PLAYWRIGHT_COVERAGE: false for the electron tests.
Maybe using the electron specific exposeInMainWorld could be a work around?
The text was updated successfully, but these errors were encountered:
In our test setup we have the following block.
Which than allows
To run to collect coverage in the test tear down. However we get "
window.collectIstanbulCoverage
is not a function" errors in electron. as far as I could see there was no obvious work around from google, or why the exposeFunction isn't working in an electron context, so for now we haveGENERATE_PLAYWRIGHT_COVERAGE: false
for the electron tests.Maybe using the electron specific
exposeInMainWorld
could be a work around?The text was updated successfully, but these errors were encountered: