Skip to content

Commit

Permalink
Added ability to be used using a switch statment (ianstormtaylor#46)
Browse files Browse the repository at this point in the history
  • Loading branch information
samyosm committed Aug 23, 2022
1 parent f07411d commit a02eb80
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -245,4 +245,6 @@ export {
compareHotkey,
toKeyCode,
toKeyName,
getHotkeyName,
toHotkeyName,
}
4 changes: 4 additions & 0 deletions test/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -257,3 +257,7 @@ describe('is-hotkey', () => {
})

})

describe('getHotkeyName', () => {

})

0 comments on commit a02eb80

Please sign in to comment.