We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ce4461a commit f56ab26Copy full SHA for f56ab26
test/run.test.js
@@ -215,7 +215,11 @@ describe('\n Hotkeys.js Test Case222.\n', () => {
215
216
expect(hotkeys.unbind()).toBe(undefined);
217
expect(hotkeys.unbind('enter')).toBe(undefined);
218
- expect(hotkeys.unbind('enter12')).toBe(undefined);
+ expect(hotkeys.unbind('enter12')).toBeUndefined();
219
+ });
220
+
221
+ test('getAllKeyCodes Test Case', async () => {
222
+ expect(hotkeys.getAllKeyCodes()).toEqual([]);
223
});
224
225
test('passing an empty string to unbind does not remove all handlers', () => {
0 commit comments