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', () => {
21
21
render ( < Footer /> ) ;
22
22
const telegramButton = screen . getByText ( / T e l e g r a m / ) ;
23
23
fireEvent . click ( telegramButton ) ;
24
- expect ( window . open ) . toHaveBeenCalledWith ( 'https://t.me/derivdotcomofficial ' , '_blank' ) ;
24
+ expect ( window . open ) . toHaveBeenCalledWith ( 'https://t.me/+g6FV5tFY1u9lZGE1 ' , '_blank' ) ;
25
25
} ) ;
26
26
27
27
it ( 'opens respective email in a new tab when email button is clicked' , ( ) => {
28
28
window . open = jest . fn ( ) ;
29
29
render ( < Footer /> ) ;
30
30
const emailButton = screen . getByText ( / S e n d a n e m a i l / ) ;
31
+ expect ( emailButton ) . toBeInTheDocument ( ) ;
31
32
fireEvent . click ( emailButton ) ;
32
33
expect ( window . open ) . toHaveBeenCalledWith ( 'mailto:api-support@deriv.com' , '_blank' ) ;
33
34
} ) ;
Original file line number Diff line number Diff line change @@ -193,7 +193,7 @@ const Footer = () => {
193
193
variant = 'outlined'
194
194
className = { styles . PaddedButton }
195
195
onClick = { ( ) => {
196
- window . open ( 'https://t.me/derivdotcomofficial ' , '_blank' ) ;
196
+ window . open ( 'https://t.me/+g6FV5tFY1u9lZGE1 ' , '_blank' ) ;
197
197
} }
198
198
>
199
199
< SocialTelegramBlackIcon fill = '#000000' iconSize = 'xs' />
You can’t perform that action at this time.
0 commit comments