In the previous post, I introduced how to test Prisma app with isolated transaction via jest-prisma. In this post, I introduce another package, prisma-fabbrica, which helps to create test data. GitHub - Quramy/prisma-fabbrica: Prisma generator to define model factory
Prisma generator for model factories. npm i @quramy/prisma-fabbrica --dev Then, edit your prisma/schema.prisma and…github.com Motivation