summaryrefslogtreecommitdiffstats
path: root/frontend/__tests__/CreateItem.test.js
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/__tests__/CreateItem.test.js')
-rw-r--r--frontend/__tests__/CreateItem.test.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/frontend/__tests__/CreateItem.test.js b/frontend/__tests__/CreateItem.test.js
index a2fcb90..56c3f10 100644
--- a/frontend/__tests__/CreateItem.test.js
+++ b/frontend/__tests__/CreateItem.test.js
@@ -3,10 +3,9 @@ import { mount } from 'enzyme';
import toJSON from 'enzyme-to-json';
import Router from 'next/router';
import { MockedProvider } from 'react-apollo/test-utils';
-import CreateItem from '../components/CreateItem';
+import CreateItem, { CREATE_ITEM_MUTATION } from '../components/CreateItem';
import wait from 'waait';
import { fakeItem } from '../lib/testUtils';
-import { CREATE_ITEM_MUTATION } from '../queries/queries.graphql';
const dogImage = 'https://dog.com/dog.jpg';