The Prisma Documentation has examples of mocking the client and doing unit testing using jest and typescript. Is there any way to mock the client in jest without using TypeScript?
I would be grateful if you can give a simple example.
Small Thing to add: I am using dependency injection in my project in all the functions that use the prisma.