Use GET_PEOPLE in mock
This commit is contained in:
@ -1,9 +1,10 @@
|
|||||||
import { MemoryRouter } from 'react-router-dom';
|
import { MemoryRouter } from 'react-router-dom';
|
||||||
import People, { GET_PEOPLE } from '../People';
|
import People from '../People';
|
||||||
import { ThemeProvider } from '@emotion/react';
|
import { ThemeProvider } from '@emotion/react';
|
||||||
import { lightTheme } from '../../../layout/styles/themes';
|
import { lightTheme } from '../../../layout/styles/themes';
|
||||||
import { MockedProvider } from '@apollo/client/testing';
|
import { MockedProvider } from '@apollo/client/testing';
|
||||||
import { defaultData } from '../default-data';
|
import { defaultData } from '../default-data';
|
||||||
|
import { GET_PEOPLE } from '../../../services/people';
|
||||||
|
|
||||||
const component = {
|
const component = {
|
||||||
title: 'People',
|
title: 'People',
|
||||||
|
|||||||
Reference in New Issue
Block a user