summaryrefslogtreecommitdiffstats
path: root/frontend/__tests__/mockMang.js
diff options
context:
space:
mode:
authorWes Bos <wesbos@gmail.com>2018-04-20 13:54:42 -0400
committerWes Bos <wesbos@gmail.com>2018-04-20 13:54:42 -0400
commit426aba70f5addfd3c6c1a972ced18395683feae9 (patch)
tree023a5291e9b088dab5c7ffc3f363b6509e22fb17 /frontend/__tests__/mockMang.js
parent13d263b7c088690b77d964f84fac454922b57ef8 (diff)
test
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;