Closed broofa closed 2 years ago
Nice find, that documentation is outdated. The feature is no longer experimental in AVA 4 so this needs to be removed:
"nonSemVerExperiments": {
"configurableModuleFormat": true
},
Fixed in https://github.com/avajs/ava/pull/2958.
'Trying to run TS tests, following the instructions at https://github.com/avajs/ava/blob/main/docs/recipes/typescript.md#for-packages-with-type-module. When I run
ava
I get the titular error.'Not really sure what I'm doing wrong here. Judging by the code, it seems like issue is with my configuration rather than any of the tests, so I haven't bothered including those here.
Here's my package.json (no "ava.config.*" file):
... and my environment: