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
Describe the bug
After upgrading to mocha 10, playwright-test fails with:
Error: R] Could not resolve "mocha/mocha-es2018.js"
node_modules/playwright-test/src/setup-mocha.js:6:18:
6 │ import mocha from 'mocha/mocha-es2018.js'
╵ ~~~~~~~~~~~~~~~~~~~~~~~
Describe the bug
After upgrading to mocha 10,
playwright-test
fails with:It looks like the
mocha-es2018.js
artifact was dropped in mochajs/mocha@70fe3ad as part of mochajs/mocha#4848.I guess we should just use
mocha.js
but I wonder if there was a reason for usingmocha-es2018.js
in the first place?The text was updated successfully, but these errors were encountered: