Skip to content

Latest commit

 

History

History
61 lines (41 loc) · 1.33 KB

File metadata and controls

61 lines (41 loc) · 1.33 KB

Migration

4.1.0 → 5.0.0

Mocha was updated to v10.2.0. Here's a link to a list of Mocha breaking changes:

v9 to v10

Node.js v12.x is no longer supported.

3.1.2 → 4.0.0

There are two breaking changes:

  1. We've dropped the support of old config format.
  2. We've updated Mocha to v9.

Config

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

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.