Update dependency ava to v3.15.0 #3
Open
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.12.1->3.15.0Release Notes
avajs/ava (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-snapshotswe'll remove the left-over snapshot files. Thanks @ninevra!4f093abTAP 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 thenextGenConfigexperiment. Say in anava.config.mjsfile:This also allows you to pass an
.mjsfile using the--configargument.With this experiment enabled, AVA will no longer have special treatment for
ava.config.jsfiles. 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.mjsfile next to anava.config.jsorava.config.cjsfile.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
.snapfrom changing when the reports themselves don't. You'll want to rebuild snapshots after upgrading to this release to isolate any changes. Thanks @ninevra!e66b54cShared 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.
v3.13.0: 3.13.0Compare Source
t.passedcan now be used in tests and teardown functions. Thanks @tymfear!900dc6dnullas the expectation fort.throws()&t.throwsAsync(). You can opt in to this early by enabling thedisableNullExpectationsexperiment. Thanks @JSimoni42!f328a69db5d2c3a3379faSee avajs/ava@v3.12.1...v3.13.0 for all changes.
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ 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 was generated by Mend Renovate. View the repository job log.