@@ -43,10 +43,12 @@ describe('ProfilingIntegration', () => {
4343 jest . clearAllMocks ( ) ;
4444 } ) ;
4545 it ( 'has a name' , ( ) => {
46+ // eslint-disable-next-line deprecation/deprecation
4647 expect ( new ProfilingIntegration ( ) . name ) . toBe ( 'ProfilingIntegration' ) ;
4748 } ) ;
4849
4950 it ( 'stores a reference to getCurrentHub' , ( ) => {
51+ // eslint-disable-next-line deprecation/deprecation
5052 const integration = new ProfilingIntegration ( ) ;
5153
5254 const getCurrentHub = jest . fn ( ) . mockImplementation ( ( ) => {
@@ -66,6 +68,7 @@ describe('ProfilingIntegration', () => {
6668 send : jest . fn ( ) . mockImplementation ( ( ) => Promise . resolve ( ) ) ,
6769 flush : jest . fn ( ) . mockImplementation ( ( ) => Promise . resolve ( ) ) ,
6870 } ;
71+ // eslint-disable-next-line deprecation/deprecation
6972 const integration = new ProfilingIntegration ( ) ;
7073
7174 const getCurrentHub = jest . fn ( ( ) : Hub => {
@@ -100,6 +103,7 @@ describe('ProfilingIntegration', () => {
100103
101104 it ( 'when Hub.getClient returns undefined' , async ( ) => {
102105 const logSpy = jest . spyOn ( logger , 'log' ) ;
106+ // eslint-disable-next-line deprecation/deprecation
103107 const integration = new ProfilingIntegration ( ) ;
104108
105109 const getCurrentHub = jest . fn ( ( ) : Hub => {
@@ -115,6 +119,7 @@ describe('ProfilingIntegration', () => {
115119 } ) ;
116120 it ( 'when getDsn returns undefined' , async ( ) => {
117121 const logSpy = jest . spyOn ( logger , 'log' ) ;
122+ // eslint-disable-next-line deprecation/deprecation
118123 const integration = new ProfilingIntegration ( ) ;
119124
120125 const getCurrentHub = jest . fn ( ( ) : Hub => {
@@ -136,6 +141,7 @@ describe('ProfilingIntegration', () => {
136141 } ) ;
137142 it ( 'when getTransport returns undefined' , async ( ) => {
138143 const logSpy = jest . spyOn ( logger , 'log' ) ;
144+ // eslint-disable-next-line deprecation/deprecation
139145 const integration = new ProfilingIntegration ( ) ;
140146
141147 const getCurrentHub = jest . fn ( ( ) : Hub => {
@@ -165,6 +171,7 @@ describe('ProfilingIntegration', () => {
165171 send : jest . fn ( ) . mockImplementation ( ( ) => Promise . resolve ( ) ) ,
166172 flush : jest . fn ( ) . mockImplementation ( ( ) => Promise . resolve ( ) ) ,
167173 } ;
174+ // eslint-disable-next-line deprecation/deprecation
168175 const integration = new ProfilingIntegration ( ) ;
169176
170177 const getCurrentHub = jest . fn ( ( ) : Hub => {
@@ -198,6 +205,7 @@ describe('ProfilingIntegration', () => {
198205 send : jest . fn ( ) . mockImplementation ( ( ) => Promise . resolve ( ) ) ,
199206 flush : jest . fn ( ) . mockImplementation ( ( ) => Promise . resolve ( ) ) ,
200207 } ;
208+ // eslint-disable-next-line deprecation/deprecation
201209 const integration = new ProfilingIntegration ( ) ;
202210 const emitter = new EventEmitter ( ) ;
203211
@@ -233,6 +241,7 @@ describe('ProfilingIntegration', () => {
233241 send : jest . fn ( ) . mockImplementation ( ( ) => Promise . resolve ( ) ) ,
234242 flush : jest . fn ( ) . mockImplementation ( ( ) => Promise . resolve ( ) ) ,
235243 } ;
244+ // eslint-disable-next-line deprecation/deprecation
236245 const integration = new ProfilingIntegration ( ) ;
237246 const emitter = new EventEmitter ( ) ;
238247
0 commit comments