Skip to content

Commit 09cf4bf

Browse files
AbhiPrasadmydea
authored andcommitted
fix type errors
1 parent 5827a7b commit 09cf4bf

File tree

4 files changed

+269
-6
lines changed

4 files changed

+269
-6
lines changed

dev-packages/node-integration-tests/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
"cors": "^2.8.5",
4545
"cron": "^3.1.6",
4646
"express": "^4.17.3",
47-
"fastify": "^4.23.2",
47+
"fastify": "~4.23.2",
4848
"graphql": "^16.3.0",
4949
"http-terminator": "^3.2.0",
5050
"ioredis": "^5.4.1",

dev-packages/node-integration-tests/suites/fastify/deprecation/server.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ Sentry.init({
88
});
99

1010
import { startFastifyServerAndSendPortToRunner } from '@sentry-internal/node-integration-tests';
11-
import Fastify from 'fastify';
11+
import fastify from 'fastify';
1212

13-
const app = Fastify();
13+
const app = fastify();
1414

1515
app.get('/test/deprecated', (_req, res) => {
1616
// eslint-disable-next-line @typescript-eslint/no-floating-promises

dev-packages/node-integration-tests/suites/fastify/deprecation/test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ afterAll(() => {
88
/**
99
* AxiosError throws before the deprecation warning code is invoked,
1010
* so mocking it would have no effect.
11-
*
11+
*
1212
* But the deprecation warning is successfully suppressed.
1313
* This can be verified by running the example code as in the original
1414
* issue (https://github.com/getsentry/sentry-javascript/issues/12844)

0 commit comments

Comments
 (0)