Skip to content
Prev Previous commit
Next Next commit
Add inline comment about role and remove unneeded class name
  • Loading branch information
opr committed Jan 11, 2022
commit 0489952378d2ea2408972df6af3fc250a3e37559
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ describe( 'CustomSelectControl', () => {
it( 'Captures the keypress event and does not let it propagate', () => {
const wrapper = (
<div
// This role="none" is required to prevent an eslint warning about accessibility.
role="none"
className="test-class-name"
onKeyDown={ onKeyDown }
>
<CustomSelectControl options={ [ 'a', 'b', 'c' ] } />
Expand Down