-
Notifications
You must be signed in to change notification settings - Fork 29
chore(deps): update dependency ava to v6 #374
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@renovate
renovate
bot
force-pushed
the
renovate/ava-6.x
branch
from
December 6, 2023 23:19
e2bbc28 to
db2f15f
Compare
@renovate
renovate
bot
force-pushed
the
renovate/ava-6.x
branch
from
December 18, 2023 17:02
db2f15f to
ce5bf3f
Compare
@renovate
renovate
bot
force-pushed
the
renovate/ava-6.x
branch
from
January 1, 2024 21:49
ce5bf3f to
e812ad4
Compare
@renovate
renovate
bot
force-pushed
the
renovate/ava-6.x
branch
from
January 21, 2024 22:01
e812ad4 to
4e65b1c
Compare
@renovate
renovate
bot
force-pushed
the
renovate/ava-6.x
branch
from
January 29, 2024 22:17
4e65b1c to
2db042a
Compare
@renovate
renovate
bot
force-pushed
the
renovate/ava-6.x
branch
from
February 7, 2024 09:45
2db042a to
d629aff
Compare
@renovate
renovate
bot
force-pushed
the
renovate/ava-6.x
branch
from
February 28, 2024 22:25
d629aff to
1457463
Compare
@renovate
renovate
bot
force-pushed
the
renovate/ava-6.x
branch
from
April 13, 2024 17:08
1457463 to
ca15dae
Compare
@renovate
renovate
bot
force-pushed
the
renovate/ava-6.x
branch
2 times, most recently
from
April 25, 2024 15:28
4beeb24 to
4ed80bb
Compare
@renovate
renovate
bot
force-pushed
the
renovate/ava-6.x
branch
3 times, most recently
from
May 9, 2024 02:07
213ccdf to
040e029
Compare
@renovate
renovate
bot
force-pushed
the
renovate/ava-6.x
branch
2 times, most recently
from
May 17, 2024 06:33
9ce665d to
a68c135
Compare
@renovate
renovate
bot
force-pushed
the
renovate/ava-6.x
branch
2 times, most recently
from
June 12, 2024 19:23
784967f to
2732efe
Compare
@renovate
renovate
bot
force-pushed
the
renovate/ava-6.x
branch
from
July 9, 2024 19:21
2732efe to
076dccf
Compare
@renovate
renovate
bot
force-pushed
the
renovate/ava-6.x
branch
from
September 13, 2024 17:16
076dccf to
c49adb9
Compare
@renovate
renovate
bot
force-pushed
the
renovate/ava-6.x
branch
from
October 27, 2024 17:09
c49adb9 to
530d1ef
Compare
@renovate
renovate
bot
force-pushed
the
renovate/ava-6.x
branch
from
May 2, 2025 16:13
530d1ef to
c9fe3b3
Compare
@renovate
renovate
bot
force-pushed
the
renovate/ava-6.x
branch
from
June 7, 2025 21:06
c9fe3b3 to
8350a7b
Compare
@renovate
renovate
bot
force-pushed
the
renovate/ava-6.x
branch
from
July 12, 2025 20:28
8350a7b to
0c41c50
Compare
@renovate
renovate
bot
force-pushed
the
renovate/ava-6.x
branch
from
August 10, 2025 13:50
0c41c50 to
bcad013
Compare
@renovate
renovate
bot
force-pushed
the
renovate/ava-6.x
branch
from
August 19, 2025 18:52
bcad013 to
aecc7d5
Compare
@renovate
renovate
bot
force-pushed
the
renovate/ava-6.x
branch
from
August 31, 2025 13:15
aecc7d5 to
6c0fb6f
Compare
@renovate
renovate
bot
force-pushed
the
renovate/ava-6.x
branch
from
September 25, 2025 20:25
6c0fb6f to
ab89a32
Compare
@renovate
renovate
bot
force-pushed
the
renovate/ava-6.x
branch
from
October 22, 2025 01:12
ab89a32 to
1fc5a80
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Uh oh!
There was an error while loading. Please reload this page.
This PR contains the following updates:
5.1.0->6.4.1Release Notes
avajs/ava (ava)
v6.4.1Compare Source
What's Changed
New Contributors
Full Changelog: avajs/ava@v6.4.0...v6.4.1
v6.4.0Compare Source
What's Changed
Interactive watch mode filters
@mmulet did fantastic work to spearhead interactive watch mode filters. You can now filter test files by glob patterns, and tests by matching their titles. It's just like you already could from the CLI itself, but now without exiting AVA 🚀 #3372
As part of this work we've removed the "sticky"
.only()behavior #3381Examples
We've been remiss in merging #3335 which updates the examples to use AVA 6. It's done now, examples are up to date and it's all due to @tommy-mitchell 👏
New Contributors
Full Changelog: avajs/ava@v6.3.0...v6.4.0
v6.3.0Compare Source
What's Changed
npm auditwarnings by @novemberborn in #3377New Contributors
Full Changelog: avajs/ava@v6.2.0...v6.3.0
v6.2.0Compare Source
What's Changed
filterNodeArgumentsForWorkerThreadsoption in #3336New Contributors
Full Changelog: avajs/ava@v6.1.3...v6.2.0
v6.1.3Compare Source
What's Changed
serialconfiguration option by @turadg in #3321New Contributors
Full Changelog: avajs/ava@v6.1.2...v6.1.3
v6.1.2Compare Source
What's Changed
any: trueby @gibson042 in #3313Full Changelog: avajs/ava@v6.1.1...v6.1.2
v6.1.1Compare Source
What's Changed
Full Changelog: avajs/ava@v6.1.0...v6.1.1
v6.1.0Compare Source
What's Changed
Implement
registerCompletionHandler()by @novemberborn in #3283AVA 6 expects test code to clean up gracefully when the tests are complete, allowing the test environment (worker thread or child process) to exit. If this does not happen, AVA will report a timeout. You can use
registerCompletionHandler()to perform any other clean up (or indeed exit the process) after AVA has completed the test execution. See the description here.Fix potential bug with watch mode when no failed test files are written by @novemberborn in #3287
Fix
ava/internalESM type module by @codetheweb in #3292Full Changelog: avajs/ava@v6.0.1...v6.1.0
v6.0.1Compare Source
What's Changed
Full Changelog: avajs/ava@v6.0.0...v6.0.1
v6.0.0Compare Source
Breaking Changes
AVA now requires Node.js versions 18.18, 20.8 or 21. Versions 14 and 16 are no longer supported. #3251 #3216
When tests finish, worker threads or child processes are no longer exited through
proces.exit(). If your test file does not exit on its own, the test run will time out. #3260Changes to watch mode #3218:
ava.config.*orpackage.jsonconfiguration.ignoredByWatcherconfiguration has moved to thewatchModeobject, under theignoreChangeskey.fs.watch()in recursive mode. This is supported on Linux in Node.js 20 or newer, and MacOS and Windows in Node.js 18 as well. There are caveats to keep in mind.Failed assertions now throw, meaning that any subsequent code is not executed. This also impacts the type definitions. #3246
Only native errors are now considered errors by the
t.throws()andt.throwsAsync()assertions.Object.create(Error.prototype)is not a native error. #3229Changes to modules loaded through the
requireconfiguration #3184:@ava/typescriptif necessary.Improvements
Rewritten watcher
The watcher has been rewritten. It’s now built on
fs.watch()in recursive mode.@vercel/nftis used to perform static dependency analysis, supporting ESM and CJS imports for JavaScript & TypeScript source files. This is a huge improvement over the previous runtime tracking of CJS imports, which did not support ESM.Integration with
@ava/typescripthas been improved. The watcher can now detect a change to a TypeScript source file, then wait for the corresponding build output to change before re-running tests.The ignoredByWatcher configuration has moved to the watchMode object, under the ignoreChanges key.
See #3218 and #3257.
Failed assertions now throw
Assertions now throw a
TestFailureerror when they fail. This error is not exported or documented and should not be used or thrown manually. You cannot catch this error in order to recover from a failure, uset.try()instead.All assertions except for
t.throws()andt.throwsAsync()now returntruewhen they pass. This is useful for some of the assertions in TypeScript where they can be used as a type guard.Committing a failed
t.try()result now also throws.See #3246.
t.throws()andt.throwsAsync()can now expect any errorBy default, the thrown error (or rejection reason) must be a native error. You can change the assertion to expect any kind of error by setting
any: truein the expectation object:See #3245 by @adiSuper94.
The
requireconfiguration is now more powerfulIt now loads ES modules.
Local files are loaded through
@ava/typescriptif necessary, so you can also write these in TypeScript.If there is a default export function, it is invoked after loading. The function is awaited so it can do asynchronous setup before further modules are loaded. Arguments from the configuration can be passed to the function (as a [structured clone](https://developer.mozilla.org/en-US/docs/Web/API/structuredClone)).
See #3184 by @sculpt0r.
Other changes worth noting
t.timeout.clear()to restore a previoust.timeout(). #3221New Contributors
Full Changelog: avajs/ava@v5.3.1...v6.0.0
v5.3.1Compare Source
What's Changed
t.like()to support Symbol keys and ignore non-enumerable properties by @gibson042 in #3209t.like()by @novemberborn in #3212Full Changelog: avajs/ava@v5.3.0...v5.3.1
v5.3.0Compare Source
What's Changed
t.like()assertions by @tommy-mitchell in #3185expectandassert) and use their formatting by @Irvenae in #3187New Contributors
Full Changelog: avajs/ava@v5.2.0...v5.3.0
v5.2.0Compare Source
What's Changed
New Contributors
Full Changelog: avajs/ava@v5.1.1...v5.2.0
v5.1.1Compare Source
What's Changed
Full Changelog: avajs/ava@v5.1.0...v5.1.1
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, 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.