Skip to content

Commit 9f53c2d

Browse files
committed
Skip test on Node 10.
1 parent 9fda712 commit 9f53c2d

File tree

1 file changed

+13
-11
lines changed
  • packages/node-integration-tests/suites/tracing/prisma-orm

1 file changed

+13
-11
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,17 @@
1-
import { assertSentryTransaction, getEnvelopeRequest, runServer } from '../../../utils';
1+
import { assertSentryTransaction, conditionalTest, getEnvelopeRequest, runServer } from '../../../utils';
22

3-
test('should instrument Prisma ORM client for tracing.', async () => {
4-
const url = await runServer(__dirname);
5-
const envelope = await getEnvelopeRequest(url);
3+
conditionalTest({ min: 12 })('Prisma ORM Integration', () => {
4+
test('should instrument Prisma client for tracing.', async () => {
5+
const url = await runServer(__dirname);
6+
const envelope = await getEnvelopeRequest(url);
67

7-
assertSentryTransaction(envelope[2], {
8-
transaction: 'Test Transaction',
9-
spans: [
10-
{ description: 'Action: create, Model: User', op: 'prisma' },
11-
{ description: 'Action: findMany, Model: User', op: 'prisma' },
12-
{ description: 'Action: deleteMany, Model: User', op: 'prisma' },
13-
],
8+
assertSentryTransaction(envelope[2], {
9+
transaction: 'Test Transaction',
10+
spans: [
11+
{ description: 'Action: create, Model: User', op: 'prisma' },
12+
{ description: 'Action: findMany, Model: User', op: 'prisma' },
13+
{ description: 'Action: deleteMany, Model: User', op: 'prisma' },
14+
],
15+
});
1416
});
1517
});

0 commit comments

Comments
 (0)