Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
3.13.0
->3.15.0
Release Notes
avajs/ava
v3.15.0
: 3.15.0Compare Source
Automatic snapshot file removal
When you stop using snapshots in a test file, the next time you run
ava --update-snapshots
we'll remove the left-over snapshot files. Thanks @ninevra!4f093ab
TAP improvements
@tymfear has been on a roll improving our TAP reporter.
t.log()
output is now compliant with the spec99ab93a
. Tests that did not run due to timeouts are now reported98595da
.Next-generation configuration
AVA 4 will add full support for ESM configuration files as well as allowing you to have asynchronous factory functions
a2f2614
. If you're using Node.js 12 or later you can opt-in to these features in AVA 3 by enabling thenextGenConfig
experiment. Say in anava.config.mjs
file:This also allows you to pass an
.mjs
file using the--config
argument.With this experiment enabled, AVA will no longer have special treatment for
ava.config.js
files. Instead AVA follows Node.js' behavior, so if you've set"type": "module"
you must use ESM, and otherwise you must use CommonJS.You mustn't have an
ava.config.mjs
file next to anava.config.js
orava.config.cjs
file.See avajs/ava@v3.14.0...v3.15.0 for all changes.
v3.14.0
: 3.14.0Compare Source
Snapshot ordering
With this release, snapshot files are now ordered based on test declaration, not completion. This makes it easier to compare the human-readable reports to your test file, and also stops the
.snap
from changing when the reports themselves don't. You'll want to rebuild snapshots after upgrading to this release to isolate any changes. Thanks @ninevra!e66b54c
Shared workers
We’ve been working on making AVA more extensible. One major step on this path is our new shared worker support: run code in the main process, communicate with test workers and influence execution. Find out more in our shared workers recipe.
See avajs/ava@v3.13.0...v3.14.0 for all changes.
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.