diff --git a/packages/test-utils/src/create-dom-event.js b/packages/test-utils/src/create-dom-event.js index 47632ff1e..738b44c19 100644 --- a/packages/test-utils/src/create-dom-event.js +++ b/packages/test-utils/src/create-dom-event.js @@ -32,10 +32,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',