Skip to content

Commit

Permalink
fix: navigation key names (#2046)
Browse files Browse the repository at this point in the history
* fix: navigation key names

* chore: update test

---------

Co-authored-by: Oleksii Dubok <oleksii.dubok@altium.com>
  • Loading branch information
AlexDubok and Oleksii Dubok authored Mar 6, 2023
1 parent f2cade2 commit 894abd1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions packages/test-utils/src/create-dom-event.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@ const w3cKeys = {
esc: 'Esc',
escape: 'Escape',
space: ' ',
up: 'Up',
left: 'Left',
right: 'Right',
down: 'Down',
up: 'ArrowUp',
left: 'ArrowLeft',
right: 'ArrowRight',
down: 'ArrowDown',
end: 'End',
home: 'Home',
backspace: 'Backspace',
Expand Down
8 changes: 4 additions & 4 deletions test/specs/wrapper/trigger.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -119,10 +119,10 @@ describeWithShallowAndMount('trigger', mountingMethod => {
esc: 'Esc',
escape: 'Escape',
space: ' ',
up: 'Up',
left: 'Left',
right: 'Right',
down: 'Down',
up: 'ArrowUp',
left: 'ArrowLeft',
right: 'ArrowRight',
down: 'ArrowDown',
end: 'End',
home: 'Home',
backspace: 'Backspace',
Expand Down

0 comments on commit 894abd1

Please sign in to comment.