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', () => {
1673
1673
} ) ,
1674
1674
) ;
1675
1675
1676
- // @ts -ignore
1676
+ // @ts -expect-error Accessing private transport API
1677
1677
const mockSend = jest . spyOn ( client . _transport , 'send' ) ;
1678
1678
1679
1679
const errorEvent : Event = { message : 'error' } ;
@@ -1701,7 +1701,7 @@ describe('BaseClient', () => {
1701
1701
} ) ,
1702
1702
) ;
1703
1703
1704
- // @ts -ignore
1704
+ // @ts -expect-error Accessing private transport API
1705
1705
const mockSend = jest . spyOn ( client . _transport , 'send' ) ;
1706
1706
1707
1707
const transactionEvent : Event = { type : 'transaction' , event_id : 'tr1' } ;
@@ -1731,7 +1731,7 @@ describe('BaseClient', () => {
1731
1731
} ) ,
1732
1732
) ;
1733
1733
1734
- // @ts -ignore
1734
+ // @ts -expect-error Accessing private transport API
1735
1735
const mockSend = jest . spyOn ( client . _transport , 'send' ) . mockImplementation ( ( ) => {
1736
1736
return Promise . reject ( 'send error' ) ;
1737
1737
} ) ;
@@ -1763,7 +1763,7 @@ describe('BaseClient', () => {
1763
1763
} ) ,
1764
1764
) ;
1765
1765
1766
- // @ts -ignore
1766
+ // @ts -expect-error Accessing private transport API
1767
1767
const mockSend = jest . spyOn ( client . _transport , 'send' ) . mockImplementation ( ( ) => {
1768
1768
return Promise . resolve ( { statusCode : 200 } ) ;
1769
1769
} ) ;
You can’t perform that action at this time.
0 commit comments