mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-16 05:04:57 +08:00
fix tests
This commit is contained in:
parent
405cc5cc24
commit
42161f3a23
@ -188,7 +188,7 @@ describe('GroupView', function() {
|
|||||||
expect(avatarImgElement).toBeTruthy();
|
expect(avatarImgElement).toBeTruthy();
|
||||||
expect(avatarImgElement.src).toContain(
|
expect(avatarImgElement.src).toContain(
|
||||||
'https://my.home.server/_matrix/media/v1/thumbnail/' +
|
'https://my.home.server/_matrix/media/v1/thumbnail/' +
|
||||||
'someavatarurl?width=48&height=48&method=crop',
|
'someavatarurl?width=28&height=28&method=crop',
|
||||||
);
|
);
|
||||||
|
|
||||||
const name = ReactTestUtils.findRenderedDOMComponentWithClass(root, 'mx_GroupView_header_name');
|
const name = ReactTestUtils.findRenderedDOMComponentWithClass(root, 'mx_GroupView_header_name');
|
||||||
|
Loading…
Reference in New Issue
Block a user