prismock
prismock copied to clipboard
A mock for PrismaClient, dedicated to unit testing.
Results
33
prismock issues
Sort by
recently updated
recently updated
newest added
When searching for an object that doesn't exist ```typescript await prisma.myModel.findUniqueOrThrow({ where: { id: "does not exist", }, }); ``` The error raised by `prismock` is an `Error`. Could be...
Again, great work on this library! It is massively valuable! We're running into an issue with prismock not enforcing an AND clause in nested updates. (It might also have something...