Mark Wubben
Mark Wubben
Plugins like https://github.com/novemberborn/babel-plugin-files also support glob patterns in the import paths. `import-glob` picks up those import statements. We should have an option to disable the automatic glob detection, and require...
@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 },...
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...
See discussion in https://github.com/avajs/ava/pull/3015. Certain Node.js flags stop worker threads from working. We should recognize that error (`ERR_WORKER_INVALID_EXEC_ARGV`) and print a useful error message so users know to disable worker...
AVA lets you specify environment variables. These are used when starting the worker threads or child processes to run the test files. However when using worker threads, you cannot set...
[](https://issuehunt.io/r/avajs/ava/issues/595) We should kick off tests in a random order. This will flush out any interdependencies per test. However the order should be reproducible to debug such interdependencies. Ruby's minitest...
See https://github.com/avajs/ava/pull/2971#issuecomment-1055760695: > I think we should resolve relative to the project directory, likely we're trying to approximate that with `resolve-cwd` but the CWD doesn't have to be the project...
[](https://issuehunt.io/r/avajs/ava/issues/1666) Prompted by #1665 and inspired by Babel's plugin / preset configuration, it'd be neat to do this: ```json "ava": { "require": [ ["@babel/register", { "ignore": ["test/*"] }] ] }...