Skip to content

Commit 1064b1b

Browse files
committed
revert
1 parent ba8bfae commit 1064b1b

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

tests/OptionList.test.tsx

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -561,9 +561,7 @@ describe('OptionList', () => {
561561
const { container } = render(<Select open showScrollBar options={options} />);
562562

563563
await waitFor(() => {
564-
const scrollbarElement = container.querySelector(
565-
'.@rc-component/virtual-list-scrollbar-visible',
566-
);
564+
const scrollbarElement = container.querySelector('.rc-virtual-list-scrollbar-visible');
567565
expect(scrollbarElement).not.toBeNull();
568566
});
569567
});
@@ -576,9 +574,7 @@ describe('OptionList', () => {
576574
const { container } = render(<Select open showScrollBar={false} options={options} />);
577575

578576
await waitFor(() => {
579-
const scrollbarElement = container.querySelector(
580-
'.@rc-component/virtual-list-scrollbar-visible',
581-
);
577+
const scrollbarElement = container.querySelector('.rc-virtual-list-scrollbar-visible');
582578
expect(scrollbarElement).toBeNull();
583579
});
584580
});

0 commit comments

Comments
 (0)