ava
ava copied to clipboard
Node.js test runner that lets you develop with confidence 🚀
## Description Firstly, thank you for creating and maintaining this brilliant tool. I leverage AVA's snapshot feature for comparing responses generated from parsers/lexers and it would be nice if I...
* Explain diff gutter symbols. * Add test result labels (color covers figure and label, and indicates passed-as-expected vs. not). * Bold the source line of errors in code excerpts....
Fixes #861
@FallingSnow [shared](https://github.com/avajs/ava/issues/2347#issuecomment-698499005) how to (experimentally) configure AVA and Node.js so that AVA can load TypeScript-based ESM files: ```json "ava": { "extensions": { "ts": "module" }, "nonSemVerExperiments": { "configurableModuleFormat": true },...
Please provide details about: * What you're trying to do Running the tutorial project from the README to test if my set up is OK. * Reproduction: * npm init...
Line number selection relies on parsing the test file. This only supports JS syntax: https://github.com/avajs/ava/blob/ac0d75d05d28e511b1b3654b09d11d602e360179/lib/worker/line-numbers.js#L9-L18 Acorn has a plugin for JSX. If we want to use that we need to...
Line number selection doesn't use the `@ava/typescript` provider to resolve the compiled JS file. This means it's parsing the actual TypeScript file which is not supported: https://github.com/avajs/ava/blob/ac0d75d05d28e511b1b3654b09d11d602e360179/lib/worker/base.js#L42-L51 We'd need to...
See discussion in https://github.com/avajs/ava/issues/3058. Both the `--timeout` feature and `t.timeout()` rely on `setTimeout()`. In Node.js there is a maximum delay of `2 ** 31 - 1` milliseconds. Any larger value...
Continuing https://github.com/avajs/typescript/issues/15#issuecomment-1140477835 cc @novemberborn --- ### Summary When a user configures AVA with JavaScript, it would be useful to have type definition. Users might consume these through JSDoc comments, or...
- as you can see from this piece of test code: https://github.com/neume-network/strategies/runs/6791138479?check_suite_focus=true#step:6:86 we're comparing two objects with each other using `t.is` - And then below notice the diff https://github.com/neume-network/strategies/runs/6791138479?check_suite_focus=true#step:6:91 -...