Prisma Cleaner is a utility for cleaning database with Prisma in testing. You can use in Jest or Mocha, etc.
npm i -D prisma-cleaner
import { PrismaCleaner } from 'prisma-cleaner'
const cleaner = new PrismaCleaner()
beforeEach(async () => {
await cleaner.clean()
})