summaryrefslogtreecommitdiffstats
path: root/frontend/__tests__/mockMang.js
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/__tests__/mockMang.js')
-rw-r--r--frontend/__tests__/mockMang.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/frontend/__tests__/mockMang.js b/frontend/__tests__/mockMang.js
index 6922601..15fc42c 100644
--- a/frontend/__tests__/mockMang.js
+++ b/frontend/__tests__/mockMang.js
@@ -63,9 +63,9 @@ const mountOptions = {
},
};
-const mountWithApollo = (Component, props) => {
+const mountWithApollo = Component => {
const wrapper = mount(<ApolloProvider client={mocked.client}>{Component}</ApolloProvider>);
- return wrapper.children();
+ return { wrapper, component: wrapper.children() };
};
export default mountOptions;