P
Prisma•5mo 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•5mo 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 Wysocki•5mo 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