You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-07-28 15:22:05 +03:00
This commit is contained in:
@ -123,7 +123,7 @@ describe('KeyBindingsManager', () => {
|
||||
it('should match ctrlOrMeta key combo', () => {
|
||||
const combo: KeyCombo = {
|
||||
key: 'k',
|
||||
ctrlOrCmd: true,
|
||||
ctrlOrCmdKey: true,
|
||||
};
|
||||
// PC:
|
||||
expect(isKeyComboMatch(mockKeyEvent('k', { ctrlKey: true }), combo, false)).toBe(true);
|
||||
@ -138,7 +138,7 @@ describe('KeyBindingsManager', () => {
|
||||
it('should match advanced ctrlOrMeta key combo', () => {
|
||||
const combo: KeyCombo = {
|
||||
key: 'k',
|
||||
ctrlOrCmd: true,
|
||||
ctrlOrCmdKey: true,
|
||||
altKey: true,
|
||||
};
|
||||
// PC:
|
||||
|
Reference in New Issue
Block a user