Hey guys. I'm using Yoga + prisma, and it's time to write some tests. Do you have any document / sample / anything to redirect me to get started properly (seeding a database, mocking data, ...) ? Thanks!
j
jjaybrown98
04/10/2018, 6:44 PM
one way I've seeded is to use an env variable for the file used to seed prisma - especially useful if your seed data is different on each env
jjaybrown98
04/10/2018, 6:44 PM
but unless you are doing integration testing I would recommend mocking