Join Slack
Powered by
do you write test for you resolvers? Do you mock p...
# orm-help
v
Vakrim
04/20/2018, 9:41 AM
do you write test for you resolvers? Do you mock prisma or not?
c
carstenbaumhoegger
04/20/2018, 9:47 AM
excellent question! Iād like to know that too! How to test Prisma properly?
n
nilan
04/20/2018, 9:52 AM
here's a related discussion:
https://www.graph.cool/forum/t/testing-prisma-resolvers/2262?u=nilan
nilan
04/20/2018, 9:53 AM
also some of the examples here showcase testing approaches:
https://www.graph.cool/forum/t/sparkles-awesome-prisma/2878?u=nilan
v
Vakrim
04/20/2018, 10:19 AM
hmm those examples are not very helpfull for me š what is the fastest way to truncate prisma between tests?
n
nilan
04/20/2018, 10:19 AM
prisma reset
nilan
04/20/2018, 10:20 AM
What are you looking for exactly then? You can start a new discussion in the Forum š
Open in Slack
Previous
Next