Skip to content

Commit ce3fa18

Browse files
committed
start deprecation removal
1 parent 9ad4d9b commit ce3fa18

File tree

2 files changed

+2
-6
lines changed
  • dev-packages/node-integration-tests/suites/express/multiple-routers

2 files changed

+2
-6
lines changed

dev-packages/node-integration-tests/suites/express/multiple-routers/common-infix-parameterized/server.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import { loggingTransport, startExpressServerAndSendPortToRunner } from '@sentry-internal/node-integration-tests';
22
import * as Sentry from '@sentry/node';
3-
import * as Tracing from '@sentry/tracing';
43
import cors from 'cors';
54
import express from 'express';
65

@@ -9,8 +8,7 @@ const app = express();
98
Sentry.init({
109
dsn: 'https://[email protected]/1337',
1110
release: '1.0',
12-
// eslint-disable-next-line deprecation/deprecation
13-
integrations: [new Sentry.Integrations.Http({ tracing: true }), new Tracing.Integrations.Express({ app })],
11+
integrations: [Sentry.httpIntegration({ tracing: true }), new Sentry.Integrations.Express({ app })],
1412
tracesSampleRate: 1.0,
1513
transport: loggingTransport,
1614
});

dev-packages/node-integration-tests/suites/express/multiple-routers/common-infix/server.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import { loggingTransport, startExpressServerAndSendPortToRunner } from '@sentry-internal/node-integration-tests';
22
import * as Sentry from '@sentry/node';
3-
import * as Tracing from '@sentry/tracing';
43
import cors from 'cors';
54
import express from 'express';
65

@@ -9,8 +8,7 @@ const app = express();
98
Sentry.init({
109
dsn: 'https://[email protected]/1337',
1110
release: '1.0',
12-
// eslint-disable-next-line deprecation/deprecation
13-
integrations: [new Sentry.Integrations.Http({ tracing: true }), new Tracing.Integrations.Express({ app })],
11+
integrations: [Sentry.httpIntegration({ tracing: true }), new Sentry.Integrations.Express({ app })],
1412
tracesSampleRate: 1.0,
1513
transport: loggingTransport,
1614
});

0 commit comments

Comments
 (0)