Use GET_PEOPLE in mock

This commit is contained in:
Anders Borch
2023-04-24 12:28:22 +02:00
parent 47bdabd5aa
commit efd6138877

View File

@ -1,9 +1,10 @@
import { MemoryRouter } from 'react-router-dom';
import People, { GET_PEOPLE } from '../People';
import People from '../People';
import { ThemeProvider } from '@emotion/react';
import { lightTheme } from '../../../layout/styles/themes';
import { MockedProvider } from '@apollo/client/testing';
import { defaultData } from '../default-data';
import { GET_PEOPLE } from '../../../services/people';
const component = {
title: 'People',