joyent-portal/packages/joyent-boilerplate/test/mocks/store.js
2017-09-07 17:28:56 +01:00

10 lines
243 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>
);