ava
8.4.0 · 7 Nov 2026MIT575.3k / weekRepositoryHomepagenpmAtom feed
Upgrading ava From 1.1.0 to 1.4.1
6 releases in betweennotes for 4
Release by release
- Fixed
Filtered tests (when using
--match,.skip()or.only()) are no longer included in the list of pending tests when timeouts occur or when you interrupt a test run. Thanks @vancouverwill! 23e302a8dc35d03ba82916bd6591822a28d499d1 - Fixed
We're now shimming all TTY methods in the worker processes, thanks to @okyantoro. c1f6fdfed61c99c1144cff56b58d113810c630c8
- Fixed
1.4.0no release note
- Fixed
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. 82daa5e373ef0587693927acc63ce5590e8d8eb2 - Fixed
1.2.0 contained a regression which meant that if you faked
clearTimeout(), you'd break AVA. That's now been fixed. 40f331c27e70690e724f9ddc893fed0556058987 - Fixed
Snapshot 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. d066f6fbc06ab2fa2d391ff373f5f09b2585b900
- Fixed
1.2.1 – 1.3.02 releases, nothing new or fixed; 1 without a note
- New
We're no longer truncating multi-line error messages 72e0762d9accb937b7b32f9151fe4088d194c710
- New
Unexpected errors in the throws assertions are now reported with the correct stack trace ad087f250fe22878ab40f7855a079cf005818464
- New
The Debugging with VSCode recipe has been updated with the correct
workspaceFoldervariable 0a5fe429ca37c025a15c5af919827436cc413abc and--serialargument placement edfc0055fea4fc204ac98c391baaa2ad60b41079
- New
1 internal line (docs, tests, tooling) left out.
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.