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

7 lines
231 B
JavaScript
Raw Normal View History

import React from 'react';
import { client, store } from '@state/store';
import { ApolloProvider } from 'react-apollo';
2017-06-12 01:58:22 +03:00
export default ({ children }) =>
<ApolloProvider client={client} store={store}>{children}</ApolloProvider>;