How to run AVA tests with a pre-transpile step #3087
-
Hey there, I am using My project is written in TypeScript, and so are the tests. I used a configuration with But tests in a pipeline could benefit from a pre-transpiled test suite, and I am unable to find much information about it. The documentation about AVA/TypeScript only refers to [ts-node]. Is there a recommended way to run the tests through AVA when test files are already transpiled in the output directory Any advice is highly appreciated. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Yes: https://github.com/avajs/ava/blob/main/docs/recipes/typescript.md#with-precompile-step See https://github.com/avajs/typescript.
|
Beta Was this translation helpful? Give feedback.
Yes: https://github.com/avajs/ava/blob/main/docs/recipes/typescript.md#with-precompile-step
See https://github.com/avajs/typescript.