14 lines
407 B
TypeScript
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();
|
|
});
|
|
});
|