@payfit/unity-components
Version:
16 lines (15 loc) • 507 B
TypeScript
import { PlayCtx } from '../../types/testing.js';
import { CalendarDate } from '@internationalized/date';
/**
* Factory to get date picker testing utils
* @param context the story context
*/
export declare const getTestingUtilsDatePicker: (context: PlayCtx) => {
fillCalendarDate: ({ labelText, calendarDate, }: {
labelText: string;
calendarDate: CalendarDate;
}) => Promise<void>;
getCalendarDateValue: ({ labelText }: {
labelText: string;
}) => CalendarDate;
};