Skip to content

Commit 30568ba

Browse files
fix: remove unnecessary 'as any' type assertion in test
🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
1 parent 1edb6ae commit 30568ba

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/test/datepicker_test.test.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -721,9 +721,7 @@ describe("DatePicker", () => {
721721
});
722722

723723
it("should apply the default outsideClickIgnoreClass when prop is falsy", () => {
724-
const { container } = render(
725-
<DatePicker outsideClickIgnoreClass={null as any} />,
726-
);
724+
const { container } = render(<DatePicker outsideClickIgnoreClass={null} />);
727725
const input = safeQuerySelector<HTMLInputElement>(container, "input");
728726
fireEvent.focus(input);
729727
expect(input?.classList.contains(OUTSIDE_CLICK_IGNORE_CLASS)).toBe(true);

0 commit comments

Comments
 (0)