"use strict";
// This is a helper required for React 19 testing.
// There are currently multiple directions this could play out in RTL and none of
// them has been released yet, so we are inlining this helper for now.
// See https://github.com/testing-library/react-testing-library/pull/1214
// and https://github.com/testing-library/react-testing-library/pull/1365
Object.defineProperty(exports, "__esModule", { value: true });
exports.renderAsync = renderAsync;
const react_1 = require("@testing-library/react");
function renderAsync(...args) {
    return (0, react_1.act)(async () => {
        return await (0, react_1.render)(...args);
    });
}
//# sourceMappingURL=renderAsync.cjs.map
