ava
8.4.0 · 7 Nov 2026MIT575.3k / weekRepositoryHomepagenpmAtom feed
1.4.1 is the newest release of 1.x.
In short
3 fixed
Release note
Bug fixes
We've fixed a rather embarrasing bug with
t.throws()andt.throwsAsync(). If you'd set acodeexpectation to a number we never actually checked that the thrown error had such a code! Thanks to @qlonik for both spotting and fixing this. 82daa5e1.2.0 contained a regression which meant that if you faked
clearTimeout(), you'd break AVA. That's now been fixed. 40f331cSnapshot files are now recognized as source files, so if you're using watch mode and you delete one, AVA won't rerun all your test files. d066f6f
New features
You can now use require() in ava.config.js files to load non-ES modules. 334e15b
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.