File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -1673,7 +1673,7 @@ describe('BaseClient', () => {
16731673 } ) ,
16741674 ) ;
16751675
1676- // @ts -ignore
1676+ // @ts -expect-error Accessing private transport API
16771677 const mockSend = jest . spyOn ( client . _transport , 'send' ) ;
16781678
16791679 const errorEvent : Event = { message : 'error' } ;
@@ -1701,7 +1701,7 @@ describe('BaseClient', () => {
17011701 } ) ,
17021702 ) ;
17031703
1704- // @ts -ignore
1704+ // @ts -expect-error Accessing private transport API
17051705 const mockSend = jest . spyOn ( client . _transport , 'send' ) ;
17061706
17071707 const transactionEvent : Event = { type : 'transaction' , event_id : 'tr1' } ;
@@ -1731,7 +1731,7 @@ describe('BaseClient', () => {
17311731 } ) ,
17321732 ) ;
17331733
1734- // @ts -ignore
1734+ // @ts -expect-error Accessing private transport API
17351735 const mockSend = jest . spyOn ( client . _transport , 'send' ) . mockImplementation ( ( ) => {
17361736 return Promise . reject ( 'send error' ) ;
17371737 } ) ;
@@ -1763,7 +1763,7 @@ describe('BaseClient', () => {
17631763 } ) ,
17641764 ) ;
17651765
1766- // @ts -ignore
1766+ // @ts -expect-error Accessing private transport API
17671767 const mockSend = jest . spyOn ( client . _transport , 'send' ) . mockImplementation ( ( ) => {
17681768 return Promise . resolve ( { statusCode : 200 } ) ;
17691769 } ) ;
You can’t perform that action at this time.
0 commit comments