diff options
Diffstat (limited to 'frontend/__tests__/Cart.test.js')
| -rw-r--r-- | frontend/__tests__/Cart.test.js | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/frontend/__tests__/Cart.test.js b/frontend/__tests__/Cart.test.js index 1e7d7f5..2ee87a2 100644 --- a/frontend/__tests__/Cart.test.js +++ b/frontend/__tests__/Cart.test.js @@ -18,12 +18,7 @@ const currentUser = { describe('<Cart/>', () => { it('renders', () => { - const wrapper = mount( - <UIProvider> - <Cart currentUser={currentUser} /> - </UIProvider> - ); - - expect(toJSON(wrapper)).toMatchSnapshot(); + const wrapper = shallow(<Cart currentUser={currentUser} />); + console.log(wrapper.first()); }); }); |
