#Jest: Connection not closing after test even with testingModule.close()

2 messages · Page 1 of 1 (latest)

small dawn
#

Hi guys,

I am facing the issue. It looks like the same this issue in this link down below.
https://github.com/nestjs/mongoose/issues/167

I follow the some solution but jest still doesn't close after all the test cases ran. Anyone can help.

GitHub

I'm submitting a... [ ] Regression [x] Bug report [ ] Feature request [ ] Documentation issue or request [ ] Support request => Please do not submit support request here, instead post your q...

raven hull
#

Have you added the --detectOpenHandles flag to see what's hanging specifically?