diff options
| author | Wes Bos <wesbos@gmail.com> | 2018-09-10 14:29:32 -0400 |
|---|---|---|
| committer | Wes Bos <wesbos@gmail.com> | 2018-09-10 14:29:32 -0400 |
| commit | b0d25a9ad3cc1df2fcc11ddb84e4603b94520b09 (patch) | |
| tree | af1fa8c77e099f52a7fbce3a6ff3e11dec9f24df /finished-application | |
| parent | 093c172d16732ba8d01faa313e0af99d26902205 (diff) | |
almost done
Diffstat (limited to 'finished-application')
| -rw-r--r-- | finished-application/frontend/__tests__/Cart.test.js | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/finished-application/frontend/__tests__/Cart.test.js b/finished-application/frontend/__tests__/Cart.test.js index 255183e..0b5baf3 100644 --- a/finished-application/frontend/__tests__/Cart.test.js +++ b/finished-application/frontend/__tests__/Cart.test.js @@ -1,10 +1,8 @@ -import React from 'react'; -import { shallow, mount } from 'enzyme'; +import { mount } from 'enzyme'; import toJSON from 'enzyme-to-json'; -import mountOptions from '../lib/testUtils'; import wait from 'waait'; -import Cart from '../components/Cart'; import { MockedProvider } from 'react-apollo/test-utils'; +import Cart from '../components/Cart'; import { fakeCartItem, fakeUser } from '../lib/testUtils'; import { CURRENT_USER_QUERY } from '../components/User'; import { LOCAL_STATE_QUERY } from '../components/Cart'; |
