joyent-portal/packages/cp-frontend/test/unit/mocks/store.js
2017-06-15 17:11:40 +01:00

7 lines
231 B
JavaScript

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>;