ava
8.4.0 · 7 Nov 2026MIT575.3k / weekRepositoryHomepagenpmAtom feed
1.4.1 is the newest release of 1.x.
In short
4 new
Release note
New features
AVA now exports a meta object. Currently, you can retrieve the path of the test file being run:
import test from 'ava';
console.log('Test currently being run: ', test.meta.file);import {meta} from 'ava';
console.log('Test currently being run: ', meta.file);This is useful in helpers that need to know the test file. bccd297
Bug fixes and other improvements
t.log()now works in hooks d187712Error output for improper usage of
t.throws()once again links to the correct documentation dc552bcWe've added a section on webpack aliases to the Babel recipe c3bcbf2
We've updated the Vue recipe for Babel 7, and added a section on webpack aliases c3bcbf2
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.