File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff 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 } ) ;
You can’t perform that action at this time.
0 commit comments