ava
8.4.0 · 7 Nov 2026MIT575.3k / weekRepositoryHomepagenpmAtom feed
Upgrading ava From 3.0.0 to 3.15.0
23 releases in betweennotes for 18
Release by release
3.9.0 – 3.15.010 releases, nothing new or fixed; 2 without a note
- Fixed
Fix bad dependency fd92b4a3
- Fixed
3.8.0 – 3.8.12 releases, nothing new or fixed; 1 without a note
- New
Support parallel runs that do not need to run test files, courtesy of @micaelmbagira 26c8326b
- New
3.1.0 – 3.7.09 releases, nothing new or fixed; 2 without a note
13 other lines we could not sort, mostly version bumps
- 3.13.0
t.passedcan now be used in tests and teardown functions. Thanks @tymfear! 900dc6d46a1f8728dddfab1e42caef1fa8a51c85 - 3.13.0
In AVA 4, you'll no longer be able to pass
nullas the expectation fort.throws()&t.throwsAsync(). You can opt in to this early by enabling thedisableNullExpectationsexperiment. Thanks @JSimoni42! f328a6933af7aca221b08f694bb14b03701eca68 - 3.13.0
The Enzyme recipe has been updated. Thanks @jonathansamines! db5d2c369178b78dfbd899d002a141a05655ccdc
- 3.13.0
The TypeScript recipe has been updated. Thanks @SephReed! a3379fad3893468309a43b4b56d290f94933f082
- 3.8.2
Use configured depth limit for diffs in assertion failures, thanks @bunysae! a5385a41
- 3.8.1
afterEach()andafterEach.always()hooks can now determine whether the test passed. Thank you @bunysae for contributing this! 8f312c0 - 3.8.1
If you've ever wanted to save some files along with AVA's snapshots, you can now determine the directory path by accessing
test.meta.snapshotDirectory. Thank you @ulken! cb5f9f7 - 3.4.0
The
t.throws()andt.throwsAsync()assertions can now be called withundefinedas the second argument. Previously, if you wanted to set an assertion message but did not want to provide any expectations for the thrown error you had to passnull. That's still allowed, of course. d0e21612390d50f084f7062b051164624ef391ff @stavalfi - 3.4.0
ava.config.jsfiles once again work with our@ava/typescriptpackage f4d4edd3379e51ac733b184e20dd0228be24245a - 3.4.0
Our TypeScript definition no longer references
@types/node7a1dacf369a5857309effa42fc1638d7b8fe4ead
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.