Ensure spaces in the spotlight dialog have rounded square avatars (#9480)

This commit is contained in:
Michael Telatynski
2022-10-24 08:58:36 +00:00
committed by GitHub
parent 913af09e61
commit eafc2d23a7
10 changed files with 73 additions and 50 deletions
@@ -140,6 +140,7 @@ describe('<UserInfo />', () => {
describe('with a room', () => {
const room = {
roomId: '!fkfk',
getType: jest.fn().mockReturnValue(undefined),
isSpaceRoom: jest.fn().mockReturnValue(false),
getMember: jest.fn().mockReturnValue(undefined),
getMxcAvatarUrl: jest.fn().mockReturnValue('mock-avatar-url'),