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
Is your feature request related to a problem? Please describe.
I want to use async/await in my jest-playwright.config.js as it is nicer and easier to read code that way.
Describe the solution you'd like
Similar to how Jest's globalSetup can except the export of an async function, so should the above config like:
module.exports=async()=>{// Do some cool async stuff hereif(foo){awaitexec('foominator',{cwd: path.join(repoRoot,'clientclient'),});}};
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
I want to use async/await in my
jest-playwright.config.js
as it is nicer and easier to read code that way.Describe the solution you'd like
Similar to how Jest's
globalSetup
can except the export of an async function, so should the above config like:The text was updated successfully, but these errors were encountered: