File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
Expand file tree Collapse file tree 1 file changed +2
-1
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 } ) ;
You can’t perform that action at this time.
0 commit comments