import * as React from "react";
import { ApolloProvider } from "@apollo/client/react";
import { MockedProvider } from "@apollo/client/testing/react";
export function createClientWrapper(client, Wrapper = React.Fragment) {
    return ({ children }) => {
        return (React.createElement(ApolloProvider, { client: client },
            React.createElement(Wrapper, null, children)));
    };
}
export function createMockWrapper(renderOptions, Wrapper = React.Fragment) {
    return ({ children }) => {
        return (React.createElement(MockedProvider, { ...renderOptions },
            React.createElement(Wrapper, null, children)));
    };
}
//# sourceMappingURL=renderHelpers.js.map
