Replies: 5 comments 1 reply
-
I should say that I am using ava v4.3.3, so all the related issues that I see from ~2018 I assume are irrelevant. |
Beta Was this translation helpful? Give feedback.
-
I should have also mentioned that... unless I SIGINT, the process just hangs indefinitely. |
Beta Was this translation helpful? Give feedback.
-
Are you using any loaders or require hooks, e.g. for TypeScript compilation? We've seen those get stuck and cause timeouts, but it happens at an awkward place where the tests haven't been registered yet. |
Beta Was this translation helpful? Give feedback.
-
I've noticed that when there are Typescript errors, it causes a timeout. It would be nice if errors in those loaders/hooks would be logged as well, e.g...
Instead of just vaguely:
That would save a lot of frustration due to searching for why it timed out. :) |
Beta Was this translation helpful? Give feedback.
-
I would expect the loaders to trigger errors or write to stderr in such a way that AVA can detect it. That doesn't seem to be the case but I don't know what more AVA could do about that, it already forwards stderr and handles uncaught exceptions / rejections. |
Beta Was this translation helpful? Give feedback.
-
I am running tests using
ava --verbose
and ava is exiting with:I cannot figure out which test is the one that is timing out.
Beta Was this translation helpful? Give feedback.
All reactions