PrismaP
Prisma9mo ago
Ben

'Too many clients' error when using NestJS and Jest even with a singleton Service

Is there a canonical example of how to create a PrismaService that can be used with Jest to do integration testing?
I'm getting 'too many client' errors even with a PrismaService that uses a global client and using --runInBand.

Does anybody have a exmaple of how to configure a PrismaService to use with NestJS and Jest?
Was this page helpful?