From a33a79cee4b7d375b190ee5aee975ce7b79c0bed Mon Sep 17 00:00:00 2001 From: Lisa Wilton Date: Fri, 7 Feb 2020 09:54:46 +0000 Subject: [PATCH] quick fix for test and Travis --- .../TopRated/__test__/TopRatedList.test.jsx | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/components/UserDashboard/TopRated/__test__/TopRatedList.test.jsx b/src/components/UserDashboard/TopRated/__test__/TopRatedList.test.jsx index cd9bd68..22dae2c 100644 --- a/src/components/UserDashboard/TopRated/__test__/TopRatedList.test.jsx +++ b/src/components/UserDashboard/TopRated/__test__/TopRatedList.test.jsx @@ -20,12 +20,18 @@ const topRatedReviews = { }, ], }; + +const authState = { + credentials: { location: 'Nigeria' }, +}; + let wrapper; beforeEach(() => { rtl.cleanup(); wrapper = rtl.render( { wrapper = rtl.render( { expect(wrapper.baseElement).toMatchSnapshot(); }); }); - -