File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -21,13 +21,14 @@ describe('Footer Component', () => {
2121 render ( < Footer /> ) ;
2222 const telegramButton = screen . getByText ( / T e l e g r a m / ) ;
2323 fireEvent . click ( telegramButton ) ;
24- expect ( window . open ) . toHaveBeenCalledWith ( 'https://t.me/derivdotcomofficial ' , '_blank' ) ;
24+ expect ( window . open ) . toHaveBeenCalledWith ( 'https://t.me/+g6FV5tFY1u9lZGE1 ' , '_blank' ) ;
2525 } ) ;
2626
2727 it ( 'opens respective email in a new tab when email button is clicked' , ( ) => {
2828 window . open = jest . fn ( ) ;
2929 render ( < Footer /> ) ;
3030 const emailButton = screen . getByText ( / S e n d a n e m a i l / ) ;
31+ expect ( emailButton ) . toBeInTheDocument ( ) ;
3132 fireEvent . click ( emailButton ) ;
3233 expect ( window . open ) . toHaveBeenCalledWith ( 'mailto:api-support@deriv.com' , '_blank' ) ;
3334 } ) ;
Original file line number Diff line number Diff line change @@ -193,7 +193,7 @@ const Footer = () => {
193193 variant = 'outlined'
194194 className = { styles . PaddedButton }
195195 onClick = { ( ) => {
196- window . open ( 'https://t.me/derivdotcomofficial ' , '_blank' ) ;
196+ window . open ( 'https://t.me/+g6FV5tFY1u9lZGE1 ' , '_blank' ) ;
197197 } }
198198 >
199199 < SocialTelegramBlackIcon fill = '#000000' iconSize = 'xs' />
You can’t perform that action at this time.
0 commit comments