@@ -71,6 +71,7 @@ describe('ProfilingIntegration', () => {
7171 // eslint-disable-next-line deprecation/deprecation
7272 const integration = new ProfilingIntegration ( ) ;
7373
74+ // eslint-disable-next-line deprecation/deprecation
7475 const getCurrentHub = jest . fn ( ( ) : Hub => {
7576 return {
7677 getClient : ( ) => {
@@ -86,6 +87,7 @@ describe('ProfilingIntegration', () => {
8687 getTransport : ( ) => transport ,
8788 } ;
8889 } ,
90+ // eslint-disable-next-line deprecation/deprecation
8991 } as Hub ;
9092 } ) ;
9193 const addGlobalEventProcessor = ( ) => void 0 ;
@@ -106,7 +108,9 @@ describe('ProfilingIntegration', () => {
106108 // eslint-disable-next-line deprecation/deprecation
107109 const integration = new ProfilingIntegration ( ) ;
108110
111+ // eslint-disable-next-line deprecation/deprecation
109112 const getCurrentHub = jest . fn ( ( ) : Hub => {
113+ // eslint-disable-next-line deprecation/deprecation
110114 return { getClient : ( ) => undefined } as Hub ;
111115 } ) ;
112116 const addGlobalEventProcessor = ( ) => void 0 ;
@@ -122,13 +126,15 @@ describe('ProfilingIntegration', () => {
122126 // eslint-disable-next-line deprecation/deprecation
123127 const integration = new ProfilingIntegration ( ) ;
124128
129+ // eslint-disable-next-line deprecation/deprecation
125130 const getCurrentHub = jest . fn ( ( ) : Hub => {
126131 return {
127132 getClient : ( ) => {
128133 return {
129134 getDsn : ( ) => undefined ,
130135 } ;
131136 } ,
137+ // eslint-disable-next-line deprecation/deprecation
132138 } as Hub ;
133139 } ) ;
134140 const addGlobalEventProcessor = ( ) => void 0 ;
@@ -144,6 +150,7 @@ describe('ProfilingIntegration', () => {
144150 // eslint-disable-next-line deprecation/deprecation
145151 const integration = new ProfilingIntegration ( ) ;
146152
153+ // eslint-disable-next-line deprecation/deprecation
147154 const getCurrentHub = jest . fn ( ( ) : Hub => {
148155 return {
149156 getClient : ( ) => {
@@ -154,6 +161,7 @@ describe('ProfilingIntegration', () => {
154161 getTransport : ( ) => undefined ,
155162 } ;
156163 } ,
164+ // eslint-disable-next-line deprecation/deprecation
157165 } as Hub ;
158166 } ) ;
159167 const addGlobalEventProcessor = ( ) => void 0 ;
@@ -174,6 +182,7 @@ describe('ProfilingIntegration', () => {
174182 // eslint-disable-next-line deprecation/deprecation
175183 const integration = new ProfilingIntegration ( ) ;
176184
185+ // eslint-disable-next-line deprecation/deprecation
177186 const getCurrentHub = jest . fn ( ( ) : Hub => {
178187 return {
179188 getClient : ( ) => {
@@ -189,6 +198,7 @@ describe('ProfilingIntegration', () => {
189198 getTransport : ( ) => transport ,
190199 } ;
191200 } ,
201+ // eslint-disable-next-line deprecation/deprecation
192202 } as Hub ;
193203 } ) ;
194204 const addGlobalEventProcessor = ( ) => void 0 ;
@@ -209,6 +219,7 @@ describe('ProfilingIntegration', () => {
209219 const integration = new ProfilingIntegration ( ) ;
210220 const emitter = new EventEmitter ( ) ;
211221
222+ // eslint-disable-next-line deprecation/deprecation
212223 const getCurrentHub = jest . fn ( ( ) : Hub => {
213224 return {
214225 getClient : ( ) => {
@@ -226,6 +237,7 @@ describe('ProfilingIntegration', () => {
226237 getTransport : ( ) => transport ,
227238 } as any ;
228239 } ,
240+ // eslint-disable-next-line deprecation/deprecation
229241 } as Hub ;
230242 } ) ;
231243
@@ -245,6 +257,7 @@ describe('ProfilingIntegration', () => {
245257 const integration = new ProfilingIntegration ( ) ;
246258 const emitter = new EventEmitter ( ) ;
247259
260+ // eslint-disable-next-line deprecation/deprecation
248261 const getCurrentHub = jest . fn ( ( ) : Hub => {
249262 return {
250263 getClient : ( ) => {
@@ -262,6 +275,7 @@ describe('ProfilingIntegration', () => {
262275 getTransport : ( ) => transport ,
263276 } as any ;
264277 } ,
278+ // eslint-disable-next-line deprecation/deprecation
265279 } as Hub ;
266280 } ) ;
267281
0 commit comments