Hello, everyone! What would be a nice and easy way...
# orm-help
r
Hello, everyone! What would be a nice and easy way to configure testing with Jest in a project using GraphQL and Prisma? NodeJS as server.
w
I was having the same questions as well, from what I've seen is some solutions to do this with running an actual Prisma Server and Database for the tests, but it might be nicer to actually mock this. But not sure if that's the only (and most efficient way)
This looks like something that's interesting: “GraphQL & Jest: snapshot testing” by Ven Korolyov https://link.medium.com/DaMbFKLd7U