"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.createClientWrapper = createClientWrapper;
exports.createMockWrapper = createMockWrapper;
const tslib_1 = require("tslib");
const React = tslib_1.__importStar(require("react"));
const react_1 = require("@apollo/client/react");
const react_2 = require("@apollo/client/testing/react");
function createClientWrapper(client, Wrapper = React.Fragment) {
    return ({ children }) => {
        return (React.createElement(react_1.ApolloProvider, { client: client },
            React.createElement(Wrapper, null, children)));
    };
}
function createMockWrapper(renderOptions, Wrapper = React.Fragment) {
    return ({ children }) => {
        return (React.createElement(react_2.MockedProvider, { ...renderOptions },
            React.createElement(Wrapper, null, children)));
    };
}
//# sourceMappingURL=renderHelpers.cjs.map
