diff --git a/packages/test-utils/src/create-dom-event.js b/packages/test-utils/src/create-dom-event.js index 0933f3f8a..262076cdc 100644 --- a/packages/test-utils/src/create-dom-event.js +++ b/packages/test-utils/src/create-dom-event.js @@ -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', diff --git a/test/specs/wrapper/trigger.spec.js b/test/specs/wrapper/trigger.spec.js index 509c48892..1c445bfb2 100644 --- a/test/specs/wrapper/trigger.spec.js +++ b/test/specs/wrapper/trigger.spec.js @@ -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',