Releases
v6.0.0
Compare
Sorry, something went wrong.
No results found
Major
Updated Node.js support to ^12.20 || >= 14.13.
The API is now ESM in .mjs files instead of CJS in .js files, accessible via import but not require .
The TestDirector class is now only accessible via a default import from the main index.
The TesDirector instance method add now throws a TypeError if argument 1 name is not a string.
Patch
Updated dependencies.
Stop using hard-rejection to detect unhandled Promise rejections in tests, as Node.js v15+ does this natively.
Updated GitHub Actions CI config:
Also run tests with Node.js v16.
Updated actions/checkout to v2.
Updated actions/setup-node to v2.
Don’t specify the CI environment variable as it’s set by default.
Use the regex flag u.
The TesDirector instance method add now throws a more specific TypeError if argument 2 test is not a function.
Stop snapshot testing major Node.js versions separately, as they all produce the same results now.
Changed the snapshot-assertion link in the readme from GitHub to npm.
Recommend coverage-node in the readme.
Prettier formatting fix for a code example.
Whitespace formatting tweaks.
Linked Node.js in the readme.
You can’t perform that action at this time.