Mocha was updated to v10.2.0. Here's a link to a list of Mocha breaking changes:
Node.js v12.x is no longer supported.
There are two breaking changes:
- We've dropped the support of old config format.
- We've updated Mocha to v9.
The deprecated config format was removed.
If you passed timeout, retries & noColors not inside the mocha field, then you should rewrite your config.
Convert this:
{
timeout: 30000,
retries: 0,
noColors: false,
// ...
}To this:
{
// ...
mocha: {
timeout: 30000,
retries: 0,
noColors: false,
// ...
},
}If you already pass those options inside the mocha field, then you're fine.
Mocha was updated to v9.1.3. Below you can find links to the breaking changes of Mocha:
But if you only used frontend-tests-runner “as is” without tweaking Mocha or the internals of this package, most probably you can update without any problems.