diff options
| author | Wes Bos <wesbos@gmail.com> | 2018-03-20 21:52:36 -0400 |
|---|---|---|
| committer | Wes Bos <wesbos@gmail.com> | 2018-03-20 21:52:36 -0400 |
| commit | 93495ce146c4e81ecfab3a0bca99460e75a759da (patch) | |
| tree | 12b2de283a017ff6cc53c1175371f9add84238d2 /frontend/__tests__/Cart.test.js | |
| parent | 92f612a995c54f7423bd2b760fb1a324044693a6 (diff) | |
tests
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()); }); }); |
