ava
8.4.0 · 7 Nov 2026MIT575.3k / weekRepositoryHomepagenpmAtom feed
In short
2 changed
Release note
Experimental t.try() assertions
We're excited to get this out there, but it's not quite done yet. For now you have to opt in to this new feature. Being opt-in, we may make changes (breaking ones even!) until we feel this is stable.
To opt in, configure AVA with the following:
package.json:
{
"ava": {
"nonSemVerExperiments": {
"tryAssertion": true
}
}
}ava.config.js:
export default {
nonSemVerExperiments: {
tryAssertion: true
}
};We'd love to hear your feedback. Please join us in this issue: #2250
Also, if you're looking to help out with the remaining issues so that we can ship this without the opt-in, have a look at this project: github.com/orgs/avajs/projects/1
Thanks again @qlonik!
Other changes
We've added the common pitfall of sharing variables across asynchronous tests 49b202f
We've updated the endpoint testing recipe to focus on the concept, not specific libraries 67e4dea
All changes
Get involved
We welcome new contributors. AVA is a friendly place to get started in open source. We have a great article on getting started contributing and a comprehensive contributing guide.
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.