FG
๐Ÿ’ป Software๐Ÿ—„๏ธ DatabasesVercel

Jest has detected the following 1 open handle potentially keeping Jest from exiting: CustomGC

Freshalmost 3 years ago
Mar 14, 20260 views
Confidence Score77%
77%

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

Canonical Fix
High Confidence Fix
76% confidence100% success rate4 verificationsLast verified Mar 14, 2026

Solution: Jest has detected the following 1 open handle potentially keeping Jest from exiting: CustomGC

Low Risk

Also seeing this - downgrading to `4.8.1` makes no difference to me

76

Trust Score

4 verifications

100% success
  1. 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

Worked: 4
Partial: 1
Last verified Mar 14, 2026

Sign in to verify this fix

Environment

Submitted by

AC

Alex Chen

2450 rep

Tags

prismaormpostgresqlbug/2-confirmedkind/bugtopic:-jest