File tree Expand file tree Collapse file tree 4 files changed +269
-6
lines changed
dev-packages/node-integration-tests
suites/fastify/deprecation Expand file tree Collapse file tree 4 files changed +269
-6
lines changed Original file line number Diff line number Diff line change 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" ,
Original file line number Diff line number Diff line change @@ -8,9 +8,9 @@ Sentry.init({
88} ) ;
99
1010import { 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
1515app . get ( '/test/deprecated' , ( _req , res ) => {
1616 // eslint-disable-next-line @typescript-eslint/no-floating-promises
Original file line number Diff line number Diff 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)
You can’t perform that action at this time.
0 commit comments