import { baseUniDriverFactory } from '../utils/test-utils/unidriver';
export const counterBadgeDriverFactory = (base) => {
    return {
        ...baseUniDriverFactory(base),
        // Gets CounterBadge content text if children are text based
        getContentText: () => base.text(),
        // Gets passed locale
        getLocale: () => base.attr('data-locale'),
        // Triggers a mouseEnter event
        mouseEnter: () => base.hover(),
        // Triggers a mouseLeave event
        mouseLeave: () => base.mouse.leave(),
    };
};
//# sourceMappingURL=CounterBadge.uni.driver.js.map