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