// 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
import { act, render } from "@testing-library/react";
export function renderAsync(...args) {
    return act(async () => {
        return await render(...args);
    });
}
//# sourceMappingURL=renderAsync.js.map
