P
Prisma•6mo ago
Marek Wysocki

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
Nurul
Nurul•6mo ago
Hey 👋 This blog series might be helpful: It covers unit testing with Prisma https://www.prisma.io/blog/testing-series-2-xPhjjmIEsM
Prisma
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 WysockiOP•6mo ago
Thanks, but I don't need guidance on general Prisma unit testing - but specifically on testing result extensions.
Want results from more Discord servers?
Add your server