From 426aba70f5addfd3c6c1a972ced18395683feae9 Mon Sep 17 00:00:00 2001 From: Wes Bos Date: Fri, 20 Apr 2018 13:54:42 -0400 Subject: test --- frontend/__tests__/mockMang.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'frontend/__tests__/mockMang.js') 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({Component}); - return wrapper.children(); + return { wrapper, component: wrapper.children() }; }; export default mountOptions; -- cgit v1.3