This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
Test hangs or times out on some TypeScript compilation errors. #3031
Labels
You can continue the conversation there. Go to discussion →
When I run this test:
Instead of reporting a compilation error, I get this:
If I remove one of the declarations, I get the following, as expected:
It seems there's some threshold (maybe the amount of
tsc
output?) that's causing ava to time out rather than report the error.This occurs when using the
ts-node/register
TypeScript approach (https://github.com/avajs/ava/blob/main/docs/recipes/typescript.md#for-packages-without-type-module).I've created a minimal reproducible example here: https://github.com/paulgb/ava-timeout-issue-repro
The text was updated successfully, but these errors were encountered: