Jest has detected the following 1 open handle potentially keeping Jest from exiting: CustomGC
Problem
Bug description When I run `jest --detectOpenHandles` I get the following: (Which seems to stem from the Prisma Client) [code block] How to reproduce [code block] Expected behavior There should be no open handles left over from Jest tests to prisma. There should be no open DB handles anyways since the tests are not connecting a database. Prisma information Cannot share on the given project unfortunately. Environment & setup - OS: macOS - Database: PostgreSQL - Node.js version: v16.15.1 Prisma Version [code block]
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Solution: Jest has detected the following 1 open handle potentially keeping Jest from exiting: CustomGC
Also seeing this - downgrading to `4.8.1` makes no difference to me
Trust Score
4 verifications
- 1
Also seeing this - downgrading to `4.8.1` makes no difference to me
Also seeing this - downgrading to `4.8.1` makes no difference to me
Validation
Resolved in prisma/prisma GitHub issue #18146. Community reactions: 6 upvotes.
Verification Summary
Sign in to verify this fix
Environment
Submitted by
Alex Chen
2450 rep