ava
8.4.0 · 7 Nov 2026MIT575.3k / weekRepositoryHomepagenpmAtom feed
3.15.0 is the newest release of 3.x.
Release note
This release improves the integration with the new @ava/typescript package, which allows AVA to load pre-compiled TypeScript files.
First, install the new @ava/typescript package:
npm install --save-dev @ava/typescript@^1.1
Now let's assume your TypeScript files are in a src directory, output to a build directory. Configure AVA like so:
ava.config.js file:
export default {
typescript: {
rewritePaths: {
'src/': 'build/'
}
}
}Compile your TypeScript files and run your tests! Or, to run a specific test file, run npx ava src/test.ts.
For more examples see the @ava/typescript package.
As exciting as this is, it's still early days. We need your help improving our TypeScript support. Check out the open issues.
Other changes
See v3.1.0...v3.2.0 for all 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.