-
Notifications
You must be signed in to change notification settings - Fork 0
build(deps): update dependency ava to v6 (main) #58
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
renovate
wants to merge
1
commit into
main
Choose a base branch
from
renovate/main-ava-6.x
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
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
cdb0dde
to
b20fa3e
Compare
a17774c
to
988f2b8
Compare
15971e7
to
7fc811b
Compare
7fc811b
to
8d0d9ce
Compare
8d0d9ce
to
29cf7d7
Compare
29cf7d7
to
cd1148c
Compare
613f567
to
f294c86
Compare
f294c86
to
f2640c4
Compare
cb5b0f4
to
070d255
Compare
070d255
to
0368490
Compare
0368490
to
bf2d517
Compare
bf2d517
to
42a3daa
Compare
42a3daa
to
608d09e
Compare
2937861
to
91a5ad6
Compare
91a5ad6
to
bf7bc7d
Compare
377d963
to
e660dda
Compare
e660dda
to
7ffecd6
Compare
7ffecd6
to
fa76a83
Compare
fa76a83
to
1b16535
Compare
1b16535
to
d57a4fc
Compare
d57a4fc
to
997f62e
Compare
997f62e
to
2b2fb3b
Compare
965ef6b
to
a24f0ab
Compare
a24f0ab
to
131aee5
Compare
471b6d1
to
bfa276b
Compare
bfa276b
to
d3abc14
Compare
d3abc14
to
34a572d
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
None yet
0 participants
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:
5.3.1
->6.4.1
Release Notes
avajs/ava (ava)
v6.4.1
Compare Source
What's Changed
New Contributors
Full Changelog: avajs/ava@v6.4.0...v6.4.1
v6.4.0
Compare 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 🚀 https://github.com/avajs/ava/pull/3372
As part of this work we've removed the "sticky"
.only()
behavior https://github.com/avajs/ava/pull/3381Examples
We've been remiss in merging https://github.com/avajs/ava/pull/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.0
Compare Source
What's Changed
npm audit
warnings by @novemberborn in https://github.com/avajs/ava/pull/3377New Contributors
Full Changelog: avajs/ava@v6.2.0...v6.3.0
v6.2.0
Compare Source
What's Changed
filterNodeArgumentsForWorkerThreads
option in https://github.com/avajs/ava/pull/3336New Contributors
Full Changelog: avajs/ava@v6.1.3...v6.2.0
v6.1.3
Compare Source
What's Changed
serial
configuration option by @turadg in https://github.com/avajs/ava/pull/3321New Contributors
Full Changelog: avajs/ava@v6.1.2...v6.1.3
v6.1.2
Compare Source
What's Changed
any: true
by @gibson042 in https://github.com/avajs/ava/pull/3313Full Changelog: avajs/ava@v6.1.1...v6.1.2
v6.1.1
Compare Source
What's Changed
Full Changelog: avajs/ava@v6.1.0...v6.1.1
v6.1.0
Compare Source
What's Changed
Implement
registerCompletionHandler()
by @novemberborn in https://github.com/avajs/ava/pull/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 https://github.com/avajs/ava/pull/3287
Fix
ava/internal
ESM type module by @codetheweb in https://github.com/avajs/ava/pull/3292Full Changelog: avajs/ava@v6.0.1...v6.1.0
v6.0.1
Compare Source
What's Changed
Full Changelog: avajs/ava@v6.0.0...v6.0.1
v6.0.0
Compare 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.json
configuration.ignoredByWatcher
configuration has moved to thewatchMode
object, under theignoreChanges
key.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
require
configuration #3184:@ava/typescript
if necessary.Improvements
Rewritten watcher
The watcher has been rewritten. It’s now built on
fs.watch()
in recursive mode.@vercel/nft
is 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/typescript
has 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
TestFailure
error 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 returntrue
when 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: true
in the expectation object:See #3245 by @adiSuper94.
The
require
configuration is now more powerfulIt now loads ES modules.
Local files are loaded through
@ava/typescript
if 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
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 was generated by Mend Renovate. View the repository job log.