diff --git a/test/components/views/elements/MemberEventListSummary-test.js b/test/components/views/elements/MemberEventListSummary-test.js index a25b2cb945..906ba45711 100644 --- a/test/components/views/elements/MemberEventListSummary-test.js +++ b/test/components/views/elements/MemberEventListSummary-test.js @@ -116,7 +116,7 @@ describe('MemberEventListSummary', function() { const renderer = new ShallowRenderer(); renderer.render(); const wrapper = renderer.getRenderOutput(); // matrix cli context wrapper - const result = wrapper.props.children[0]; + const result = wrapper.props.children; expect(result.props.children).toEqual([
Expanded membership
, @@ -139,7 +139,7 @@ describe('MemberEventListSummary', function() { const renderer = new ShallowRenderer(); renderer.render(); const wrapper = renderer.getRenderOutput(); // matrix cli context wrapper - const result = wrapper.props.children[0]; + const result = wrapper.props.children; expect(result.props.children).toEqual([
Expanded membership
,