Hey guys. I'm using Yoga + prisma, and it's time t...
# orm-help
m
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
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
but unless you are doing integration testing I would recommend mocking
m
I think I’ll start with intégration tests but I’m not sure yet ^^