if prisma was able to offer a "light" version whic...
# orm-help
c
if prisma was able to offer a "light" version which could be run in tests without mocking out, to test your schema changes worked with current code, that would be cool, like sqllite, but they don't offer that so I dunno what docs they would have with what is currently there
h
See my comment there, I use that approach right now
c
yea which is what I said, using a mocking tool right
what I was saying, if they offered an actual "light" version of prisma
that test there tests the resolver to see if its calling prisma with the correct data and query structure
which is great
but I could see problems arising from say, you change your prisma schema, and it regenerates your prisma API
and your test passes because prisma API is mocked out in your test
but in the actual running app it fails because the prisma API has changed
like when you do unit testing against SQL many times you will run a SQL lite server as part of the test
to make sure your schema is the same
m
that light version of Prisma is in the works 🙂
🦜 1