Skip to content

Commit 3c622a6

Browse files
committed
test: clean up redundant comments in DatePicker and DateField tests
1 parent 18aaa6f commit 3c622a6

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

packages/react-aria-components/test/DateField.test.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -493,7 +493,6 @@ describe('DateField', () => {
493493
let segments = getAllByRole('spinbutton');
494494
expect(focusableRef.current).toBe(segments[0]);
495495

496-
// Programmatically focus the first segment
497496
act(() => {
498497
focusableRef.current.focus();
499498
});

packages/react-aria-components/test/DatePicker.test.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,6 @@ describe('DatePicker', () => {
353353
let segments = within(group).getAllByRole('spinbutton');
354354
expect(focusableRef.current).toBe(segments[0]);
355355

356-
// Programmatically focus the first segment
357356
act(() => {
358357
focusableRef.current.focus();
359358
});

0 commit comments

Comments
 (0)