ava
8.4.0 · 7 Nov 2026MIT575.3k / weekRepositoryHomepagenpmAtom feed
0.25.0 is the newest release of 0.10.x.
In short
1 breaking2 new5 changed
- Breaking
.babelrcfiles will now be ignored when transpiling tests. This will be a breaking change for some, and fix major problems for others. The ability to configure test transpilation will be restored in a future update. 5f5be31
Release note
Highlights
Customize the default behavior in package.json
All of the CLI options can be configured in the AVA section of your package.json. This allows you to modify the default behavior of the AVA command, so you don't have to repeatedly type the same options on the command prompt.
{
"ava": {
"files": [
"my-test-folder/*.js",
"!**/not-this-file.js"
],
"failFast": true,
"serial": true,
"tap": true,
"verbose": true,
"require": ["babel-core/register", "coffee-script/register"]
}
}Clean stack traces
Unrelated lines are now removed from stack traces, allowing you to find the source of an error much faster.
Improved performance
Babel transpilation of test files now happens in the main process. This avoids requiring Babel in every child process and greatly improves performance. This is an especially important improvement for people still running npm@2.
New power-assert updates reduce the size of it's dependency graph. Offering improvements to both download times and performance.
Clean console.log output.
The test status output and console.log statements from within your own code will no longer interfere with each other. The test status remains fixed at the bottom of the output.
Other Changes
New Spanish translation of the documentation. 37cd685
Started a collection of
recipesfor common scenarios / best practices. 4d96a3eAll assertion methods now return a promise. 821436a
Long stack traces are turned on in forked processes. da6a2f4
Skippable assertions are now documented. 879e036
- Breaking
.babelrcfiles will now be ignored when transpiling tests. This will be a breaking change for some, and fix major problems for others. The ability to configure test transpilation will be restored in a future update. 5f5be31 Added a Code of Conduct b76f3d5
Changes
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.