From 072eca0e5038a7755ca9b2c94dfe1a0c3f110968 Mon Sep 17 00:00:00 2001 From: Wes Bos Date: Thu, 24 May 2018 15:19:21 -0400 Subject: colocate queries and components --- frontend/__tests__/CreateItem.test.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'frontend/__tests__/CreateItem.test.js') 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'; -- cgit v1.3