- Relicense under the Apache-2.0 license.
- Upgraded to
mocha@10
. See the mocha v10 changelog. - Added
engines.node >= 14
topackage.json
. This aligns with@bedrock/core@5+
.
- Add
package.json
files
field.
- Use direct file existence check for
test.config.js
. This fixes buggy logic in the error parsing that tries to check iftest.config.js
doesn't exist or if a module it loads doesn't exist.
- Fix framework filter.
- Fix command line option handling.
- Use
node:
imports internally.
- BREAKING: Require
@bedrock/core@6
peer dep.
- Support non-existence of
email
transport when setting logger config.
- Use
jsdoc-to-markdown@7
.
- Avoid segfault with dynamic imports from mocha CJS file.
- Remove unused dep
esm
.
- Remove deprecated
require
export that should have been removed in7.0.0
.
- BREAKING: Rename package to
@bedrock/test
. - BREAKING: Convert to module (ESM).
- BREAKING: Update peer deps:
@bedrock/core@5
.
- BREAKING: Remove unused grunt dependencies.
- BREAKING: Remove
require
export.
- Update peer deps:
- Update internals to use esm style and use
esm.js
to transpile to CommonJS.
- BREAKING: Updated to latest mocha (9.x) and grunt-shell (3.x).
- BREAKING: Require bedrock peer dep of 4.4.x.
- Update
grunt
deps to address CVE-2020-7729.
- Fix use of child logger.
- Fix usage of
logger.debug
.
- Use mocha@7.
- Improve output of errors with circular references in assertNoError helper.
- Export
test
API.
- Replace deprecated
runOnceAsync
call withrunOnce
.
- BREAKING: Replace deprecated
useColors
mocha option withcolor
.
- Update max bedrock dependency.
- Update to latest bedrock events API.
- BREAKING: Refactor for use with bedrock@2.
- Dependencies for the mocha test framework now reside here.
- BREAKING: Remove HTTPSignatures helpers and dependencies.
helpers.createHttpSignatureRequest
API for assisting in the creation of HTTPSignatures requests.
- Use child logger.
- BREAKING: Remove the postinstall script that was responsible for creating
a symlink to the parent module. Use a
file:..
dependency in the package file for the test suite. v5.3+ creates a symlink. Earlier versions of npm will copy the target module instead which is acceptable when doing CI testing. Keep this difference in mind when doing test development.
- Add grunt dependencies which allows for
Gruntfile.js
to be easily added to test frameworks.
- Improve error handling when loading test config.
- Check for existence of
config.protractor
.
- Support for bower packages.
- Add
--test-config
command line option.
- See git history for changes.