How do you test codebase which uses prisma in stac...
# orm-help
j
How do you test codebase which uses prisma in stack, I've currently solved that with domain model with mocked repository on simple array used but tests but I wonder how community does that.
✅ 1
m
Have you seen the official Prisma Unit testing guide? https://www.prisma.io/docs/guides/testing/unit-testing
👍 1
n
Also, here’s an example from the prisma-examples repository demonstrating testing express apps with prisma and jest which might be helpful