Skip to content

Commit ada61f4

Browse files
Change TestDatePicker type to any for testing
1 parent 01dc2db commit ada61f4

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/test/timepicker_test.test.tsx

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,9 @@ import {
1313
setupMockResizeObserver,
1414
} from "./test_utils";
1515

16-
import type { DatePickerProps } from "../index";
17-
1816
const MIN_TIME_LI_LEN = 2;
19-
const TestDatePicker =
20-
DatePicker as unknown as React.ComponentType<DatePickerProps>;
17+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
18+
const TestDatePicker = DatePicker as unknown as React.ComponentType<any>;
2119

2220
describe("TimePicker", () => {
2321
let datePicker: HTMLDivElement;

0 commit comments

Comments
 (0)