Closed andkom closed 4 weeks ago
Thank you for taking the time to submit your report! From the looks of it, this could be better discussed on our Discord. If you haven't already, please join here and send a new post in the # 🐈 nestjs-help forum. Make sure to include a link to this issue, so you don't need to write it all again. We have a large community of helpful members, who will assist you in getting this to work.
Is there an existing issue for this?
Current behavior
Jest did not exit one second after the test run has completed if there are more then one test in the file:
test.spec.ts
output:
If i comment any two tests or TypeOrmModule import, test will run and exit properly.
Minimum reproduction code
https://github.com/andkom/jest-nest-typeorm/blob/main/src/test.spec.ts
Steps to reproduce
Expected behavior
there are no open handles after test
Package version
10.0.2
NestJS version
10.4.1
Node.js version
20.12.0
In which operating systems have you tested?
Other
No response