Ben
Ben
PPrisma
Created by Ben on 4/16/2025 in #help-and-questions
'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?
6 replies