Join Slack
Powered by
How do you test codebase which uses prisma in stac...
# orm-help
j
Jayek
07/30/2022, 4:26 PM
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
Michael Jay
07/31/2022, 4:21 PM
Have you seen the official Prisma Unit testing guide?
https://www.prisma.io/docs/guides/testing/unit-testing
👍 1
n
Nurul
08/01/2022, 6:15 AM
Also, here’s an
example
from the
prisma-examples
repository demonstrating testing express apps with prisma and jest which might be helpful
3
Views
Open in Slack
Previous
Next