Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
swissspidy committed Dec 16, 2024
1 parent ea01389 commit 1f7ec2c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/components/test/PreferredLanguages.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -64,13 +64,15 @@ function moveUp() {
fireEvent.keyDown( screen.getByRole( 'listbox' ), {
key: 'ArrowUp',
keyCode: UP,
altKey: true,
} );
}

function moveDown() {
fireEvent.keyDown( screen.getByRole( 'listbox' ), {
key: 'ArrowDown',
keyCode: DOWN,
altKey: true,
} );
}

Expand Down

0 comments on commit 1f7ec2c

Please sign in to comment.