File tree Expand file tree Collapse file tree
dev-packages/node-integration-tests/suites/tracing/prisma-orm-v7 Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11import { PrismaPg } from '@prisma/adapter-pg' ;
2- import { PrismaClient } from './prisma/generated/prisma/client.js' ;
32import * as Sentry from '@sentry/node' ;
43import { randomBytes } from 'crypto' ;
4+ import { PrismaClient } from './prisma/generated/prisma/client.js' ;
55
66// Stop the process from exiting before the transaction is sent
77setInterval ( ( ) => { } , 1000 ) ;
Original file line number Diff line number Diff line change 1- import { afterAll , describe , expect } from 'vitest' ;
1+ import { afterAll , expect } from 'vitest' ;
2+ import { conditionalTest } from '../../../utils' ;
23import { cleanupChildProcesses , createEsmAndCjsTests } from '../../../utils/runner' ;
34
45afterAll ( ( ) => {
56 cleanupChildProcesses ( ) ;
67} ) ;
78
8- describe ( 'Prisma ORM v7 Tests' , ( ) => {
9+ // Prisma 7 requires Node.js 20.19+
10+ conditionalTest ( { min : 20 } ) ( 'Prisma ORM v7 Tests' , ( ) => {
911 createEsmAndCjsTests (
1012 __dirname ,
1113 'scenario.mjs' ,
You can’t perform that action at this time.
0 commit comments