File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
packages/compass-components/src/components Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ describe('DrawerSection', function () {
5454 } ) ;
5555
5656 // Doesn't really matter, but leafygreen uses these as keys when rendering and
57- // this produces a ton of warnings in the logs
57+ // this produces a ton of warnings in the logs if they are not unique
5858 const icons = [ 'ArrowDown' , 'CaretDown' , 'ChevronDown' ] as const ;
5959
6060 it ( 'switches drawer content when selecting a different section in the toolbar' , async function ( ) {
@@ -157,7 +157,8 @@ describe('DrawerSection', function () {
157157 } ) ;
158158
159159 expect (
160- // Specifically a selector for the drawer content section
160+ // Specifically a selector for the drawer content section, not the whole
161+ // drawer with toolbar
161162 screen . getByTestId ( 'lg-drawer' )
162163 ) . to . have . attribute ( 'aria-hidden' , 'true' ) ;
163164 } ) ;
You can’t perform that action at this time.
0 commit comments