import type { PrismaClient } from "@prisma/client"; export interface JestPrisma { /** * * Primsa Client Instance whose transaction are isolated for each test case. * And this transaction is rolled back automatically after each test case. * */ readonly client: PrismaClient; } export interface JestPrismaEnvironmentOptions { /** * * If set true, each transaction is not rolled back but committed. * */ readonly disableRollback?: boolean; /** * * Display SQL queries in test cases to STDOUT. * */ readonly verboseQuery?: boolean; /** * * Override the database connection URL. * * Default is the url set in the `DATABASE_URL` environment variable. * */ readonly databaseUrl?: string; }