Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
iansan5653 authored Dec 7, 2023
1 parent 1ddb484 commit feaf032
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -287,9 +287,9 @@ describe('hotkey', function () {
['Alt+Shift+ArrowLeft', {altKey: true, shiftKey: true, key: 'ArrowLeft'}, 'mac'],
['Control+Space', {ctrlKey: true, key: ' '}],
['Shift+Plus', {shiftKey: true, key: '+'}],
['Command+Shift+X', {metaKey: true, shiftKey: true, key: 'x'}, 'mac'],
['Meta+Shift+X', {metaKey: true, shiftKey: true, key: 'x'}, 'mac'],
['Control+Shift+X', {ctrlKey: true, shiftKey: true, key: 'X'}],
['Command+Shift+!', {metaKey: true, shiftKey: true, key: '1'}, 'mac'],
['Meta+Shift+!', {metaKey: true, shiftKey: true, key: '1'}, 'mac'],
['Control+Shift+!', {ctrlKey: true, shiftKey: true, key: '!'}]
]
for (const [expected, keyEvent, platform = 'win / linux'] of tests) {
Expand Down

0 comments on commit feaf032

Please sign in to comment.