import { scrollableContainerDriverFactory as publicDriverFactory } from '../ScrollableContainer.uni.driver';
import { fireEvent } from '@testing-library/react';
export const scrollableContainerPrivateUniDriverFactory = base => {
    return {
        ...publicDriverFactory(base),
        _scrollContentTo: async ({ x = 0, y = 0 }) => {
            if (base.element) {
                base.element.scroll(x, y);
            }
            else {
                fireEvent.scroll(await base.getNative());
            }
        },
    };
};
//# sourceMappingURL=ScrollableContainer.private.uni.driver.js.map