JSVerbalExpressions
JSVerbalExpressions copied to clipboard
Bump ava from 3.15.0 to 4.1.0
Bumps ava from 3.15.0 to 4.1.0.
Release notes
Sourced from ava's releases.
v4.1.0
New features
- Allow customized sorting of test files prior to execution using
sortTestFiles()
inava.config.js
files by@erezrokah
in avajs/ava#2968- Warn when unsupported
ava.config.json
files are encountered by@razor-x
in avajs/ava#2962- Loosen type constraints for
deepEqual
assertion by@RebeccaStevens
in avajs/ava#2969Fixes
ava --version
works again by@novemberborn
in avajs/ava#2961New Contributors
@sikrinick
made their first contribution in avajs/ava#2958@scottdotjs
made their first contribution in avajs/ava#2954@gibson042
made their first contribution in avajs/ava#2975@erezrokah
made their first contribution in avajs/ava#2968@razor-x
made their first contribution in avajs/ava#2962@RebeccaStevens
made their first contribution in avajs/ava#2969Full Changelog: https://github.com/avajs/ava/compare/v4.0.1...v4.1.0
v4.0.1
What's Changed
- Fix encoding of large snapshot data by
@novemberborn
in avajs/ava#2936Full Changelog: https://github.com/avajs/ava/compare/v4.0.0...v4.0.1
AVA 4
We're celebrating the new year with the official AVA 4 release! 🎊
npm install -D ava
The cool new stuff 🆒
Worker threads 🧑💼
By default, test files are now run in worker threads! Huge thanks to
@dnlup
for landing this.Test files should run a little quicker, since it's easier to spin up a worker thread than a child process. You can use
--no-worker-threads
on the command line, orworkerThreads: false
in your AVA configuration, to fall back to using child processes.Shared workers are no longer experimental 🎊
Shared workers are no longer experimental. This is a powerful feature that loads a program in a worker thread in AVA's main process and then communicate with code running in the test workers. This enables your tests to better utilize shared resources during a test run, as well as providing opportunities to set up these resources before tests start (or clean them up after).
When you use watch mode, shared workers remain loaded across runs.
... (truncated)
Commits
4f14c6b
4.1.0419047b
Update dependencies9f797b0
Loosen type constraints for deepEqual assertionb5f934d
Add Node.js 17 reporter logs9d35593
Warn when unsupported ava.config.json files are encounteredada1a4f
Allow customized sorting of test files prior to execution7276f08
Better explain the syntax and semantics of CLI pattern argumentse13d499
Remove accidentally committed test-ava symlink01bc445
Use ESM import in introductory example576f534
Update examples in docs to use ES Modules- Additional commits viewable in compare view
You can trigger a rebase of this PR by commenting @dependabot rebase
.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
-
@dependabot rebase
will rebase this PR -
@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it -
@dependabot merge
will merge this PR after your CI passes on it -
@dependabot squash and merge
will squash and merge this PR after your CI passes on it -
@dependabot cancel merge
will cancel a previously requested merge and block automerging -
@dependabot reopen
will reopen this PR if it is closed -
@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot ignore this major version
will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this minor version
will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
@dependabot rebase
I'm guessing some issue with grunt-ava, but I'll get back to this later
A newer version of ava exists, but since this PR has been edited by someone other than Dependabot I haven't updated it. You'll get a PR for the updated version as normal once this PR is merged.