joyent-portal/packages/cp-frontend/test/unit/mocks/store.js

8 lines
235 B
JavaScript
Raw Normal View History

import React from 'react';
import { client, store } from '@state/store';
import { ApolloProvider } from 'react-apollo';
export default ({ children }) => (
<ApolloProvider client={client} store={store}>{children}</ApolloProvider>
);