UNPKG

1.22 kBPlain TextView Raw
1import { getDefaultClassNames } from "./getDefaultClassNames";
2
3test("should return the default classnames", () => {
4 expect(getDefaultClassNames()).toStrictEqual({
5 button_next: "rdp-button_next",
6 button_previous: "rdp-button_previous",
7 root: "rdp-root",
8 caption_label: "rdp-caption_label",
9 chevron: "rdp-chevron",
10 day: "rdp-day",
11 day_button: "rdp-day_button",
12 disabled: "rdp-disabled",
13 dropdowns: "rdp-dropdowns",
14 dropdown_root: "rdp-dropdown_root",
15 dropdown: "rdp-dropdown",
16 focused: "rdp-focused",
17 footer: "rdp-footer",
18 hidden: "rdp-hidden",
19 month_caption: "rdp-month_caption",
20 month_grid: "rdp-month_grid",
21 month: "rdp-month",
22 weeks: "rdp-weeks",
23 months_dropdown: "rdp-months_dropdown",
24 months: "rdp-months",
25 nav: "rdp-nav",
26 outside: "rdp-outside",
27 range_end: "rdp-range_end",
28 range_middle: "rdp-range_middle",
29 range_start: "rdp-range_start",
30 selected: "rdp-selected",
31 today: "rdp-today",
32 week_number: "rdp-week_number",
33 week_number_header: "rdp-week_number_header",
34 week: "rdp-week",
35 weekday: "rdp-weekday",
36 weekdays: "rdp-weekdays",
37 years_dropdown: "rdp-years_dropdown"
38 });
39});