|
|
|
|
@ -14,12 +14,12 @@ describe('getLogo helper', () => { |
|
|
|
|
id: 1, |
|
|
|
|
profileType: ProfileTypes.TEAMS, |
|
|
|
|
sportType: 3, |
|
|
|
|
})).toBe('https://cf-aws.insports.tv/media/teams/3/1/logo.jpg') |
|
|
|
|
})).toBe('https://cf-aws.insports.tv/media/teams/3/1/logo.png') |
|
|
|
|
|
|
|
|
|
expect(getProfileLogo({ |
|
|
|
|
id: 1, |
|
|
|
|
profileType: ProfileTypes.TOURNAMENTS, |
|
|
|
|
sportType: 2, |
|
|
|
|
})).toBe('https://cf-aws.insports.tv/media/tournaments/2/1/logo.jpg') |
|
|
|
|
})).toBe('https://cf-aws.insports.tv/media/tournaments/2/1/logo.png') |
|
|
|
|
}) |
|
|
|
|
}) |
|
|
|
|
|