mirror of
https://github.com/element-hq/element-web
synced 2024-11-23 09:46:09 +03:00
Fix tests v2
This commit is contained in:
parent
f3ca4c0b7c
commit
513ec30ef1
1 changed files with 2 additions and 2 deletions
|
@ -116,7 +116,7 @@ describe('MemberEventListSummary', function() {
|
|||
const renderer = new ShallowRenderer();
|
||||
renderer.render(<MemberEventListSummary {...props} />);
|
||||
const wrapper = renderer.getRenderOutput(); // matrix cli context wrapper
|
||||
const result = wrapper.props.children[0];
|
||||
const result = wrapper.props.children;
|
||||
|
||||
expect(result.props.children).toEqual([
|
||||
<div className="event_tile" key="event0">Expanded membership</div>,
|
||||
|
@ -139,7 +139,7 @@ describe('MemberEventListSummary', function() {
|
|||
const renderer = new ShallowRenderer();
|
||||
renderer.render(<MemberEventListSummary {...props} />);
|
||||
const wrapper = renderer.getRenderOutput(); // matrix cli context wrapper
|
||||
const result = wrapper.props.children[0];
|
||||
const result = wrapper.props.children;
|
||||
|
||||
expect(result.props.children).toEqual([
|
||||
<div className="event_tile" key="event0">Expanded membership</div>,
|
||||
|
|
Loading…
Reference in a new issue