ava
ava copied to clipboard
Node.js test runner that lets you develop with confidence 🚀
* What you're trying to do Use Ava with Node 22. * Why you can't use AVA for this If `--engine-strict` is used, `npm install` fails with: ``` npm error...
Closes #3327
## Feature Request AVA should support a way to ignore a resolved configuration, for example a (mono-)repo's `ava.config.js`. Possible solutions: - Have configurations in a directory take precedence over a...
Closes #2993. Updates examples to be ESM and use AVA 6. Also adds an example for using [ESM loaders with TypeScript](https://github.com/avajs/ava/blob/main/docs/recipes/typescript.md#enabling-avas-support-for-typescript-test-files). Maybe shouldn't be merged until #3334 is resolved.
Unhandled exceptions from the `axios` library result in the following (even though all promises are properly awaited): ``` Unhandled rejection in example.test.js DOMException {} ``` Whereas I would expect something...
I want to spit out a TAP so that I can get machine-generated reports and stuff, but AVA's built-in reporter is way more human-readable than any of the existing TAP...
Recently published args-tokenizer package. We use it at Webstudio for parsing cURL on paste. Also used at https://github.com/antfu-collective/bumpp. There are a few benefits - published with type definitions - ~~parser...
In the Ky tests, we have [a simple assertion](https://github.com/sindresorhus/ky/blob/4a427011ad7b4ab98bb5f02ecaa5375fba5addca/test/main.ts#L710) that a [Node.js `DOMException`](https://nodejs.org/api/globals.html#domexception) is thrown when a request is aborted. In AVA v5, this assertion works as expected. However, beginning...
After updating Typescript from 5.5.4 to 5.6.3 i started to have an error ``` error TS2349: This expression is not callable. Type 'typeof import("/node_modules/ava/entrypoints/main")' has no call signatures. ``` Version...
Please provide details about: * What you're trying to do Assuming: - Node v23.1.0 (Linux) - `"ava": "^6.2.0"` and - no configuration - the following test file: ```js import ava...