Ben Ezard
07/19/2021, 12:37 PMJest has detected the following 1 open handle potentially keeping Jest from exiting:
● prisma-client-request
35564 | try {
35565 | let index = -1;
> 35566 | const resource = new import_async_hooks.AsyncResource("prisma-client-request");
| ^
35567 | const params = {
35568 | args: internalParams.args,
35569 | dataPath: internalParams.dataPath,
I'm calling prismaClient.$disconnect()
when tests are done; is there something else that I should be doing to avoid this?
I wasn't sure if this is a bug or not, but if it is then I'll raise an issue on GitHub about it 🙂Ryan
07/19/2021, 12:37 PMBen Ezard
07/19/2021, 12:42 PM--maxWorkers=1
, and the issue still occursRyan
07/19/2021, 12:43 PM--runInBand
?Ben Ezard
07/19/2021, 12:45 PM