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.
{headers:{'connection': 'close'}, method: 'GET', port, host, path: '/'},
"@shelf/jest-dynamodb": "^3.4.2",
"jest": "^29.7.0",
"ts-jest": "^29.1.1",