Skip to content

Commit 38320d4

Browse files
committed
Skip tests on node 18, prisma requires node 20+
1 parent c0c84d8 commit 38320d4

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

  • dev-packages/node-integration-tests/suites/tracing/prisma-orm-v7

dev-packages/node-integration-tests/suites/tracing/prisma-orm-v7/test.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
1-
import { afterAll, describe, expect } from 'vitest';
1+
import { afterAll, expect } from 'vitest';
2+
import { conditionalTest } from '../../../utils';
23
import { cleanupChildProcesses, createEsmAndCjsTests } from '../../../utils/runner';
34

45
afterAll(() => {
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',

0 commit comments

Comments
 (0)