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(); }); }); - -