import { jsx as _jsx } from "react/jsx-runtime";
import { render } from "@testing-library/react";
import { Form } from "../components/index.js";
export const renderWithForm = (children, onSubmit) => {
    return render(children, {
        wrapper: ({ children }) => (_jsx(Form, { onSubmit: onSubmit ?? (() => null), children: children })),
    });
};
//# sourceMappingURL=testing.js.map