Files
lislgosms/api/src/prisma/prisma.service.spec.ts
T

14 lines
407 B
TypeScript

import { PrismaService } from './prisma.service';
describe('PrismaService', () => {
it('keeps the operation log delegate configurable for transaction client proxies', async () => {
const prisma = new PrismaService();
expect(Object.getOwnPropertyDescriptor(prisma, 'operationLog')).toEqual(
expect.objectContaining({ configurable: true }),
);
await prisma.$disconnect();
});
});