Unit testing a result extension

Hi, folks! Is there any way whatsoever to unit test a result extension. I started out simple - by just adding a computed field through a result extension - but how do I test it without spinning up an actual integration test? Much obliged! M.
2 Replies
Nurul2mo ago
Hey 👋 This blog series might be helpful: It covers unit testing with Prisma https://www.prisma.io/blog/testing-series-2-xPhjjmIEsM
The Ultimate Guide to Testing with Prisma: Unit Testing
Learn about what unit testing is and how to approach it in an application using Prisma Client.
Marek Wysocki
Marek Wysocki2mo ago
Thanks, but I don't need guidance on general Prisma unit testing - but specifically on testing result extensions.