You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I'm getting the warning "Jest did not exit one second after the test run has completed", not always but only when I run a short run time test(maybe less than 60sec? or 30sec?).
I found a ChangeLog that may be related to this issue. it's about "keep HTTP/1.1 conns alive".
You can also add response.resume() or response.destroy() at the top of the response callback in wait-for-localhost. Unfortunately I couldn't find a better workaround.
Hi, I'm getting the warning "Jest did not exit one second after the test run has completed", not always but only when I run a short run time test(maybe less than 60sec? or 30sec?).
I found a ChangeLog that may be related to this issue. it's about "keep HTTP/1.1 conns alive".
and I tested to add "connection":"close" header to the wait-for-localhost.ts file and no more warning out.
https://github.com/shelfio/jest-dynamodb/blob/v3.4.2/src/utils/wait-for-localhost.ts#L14C9-L14C48
Can I set header options? or is there a workaround?
Package Versions
The text was updated successfully, but these errors were encountered: