You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-08-07 21:23:00 +03:00
Make everything use the KeyBindingManager
(#7907)
This commit is contained in:
@@ -28,6 +28,7 @@ import { findById } from '../../../test-utils';
|
||||
import { SettingLevel } from '../../../../src/settings/SettingLevel';
|
||||
import dis from '../../../../src/dispatcher/dispatcher';
|
||||
import { Action } from '../../../../src/dispatcher/actions';
|
||||
import PlatformPeg from "../../../../src/PlatformPeg";
|
||||
|
||||
jest.mock('../../../../src/theme');
|
||||
jest.mock('../../../../src/components/views/settings/ThemeChoicePanel', () => ({
|
||||
@@ -44,6 +45,8 @@ jest.mock('../../../../src/dispatcher/dispatcher', () => ({
|
||||
register: jest.fn(),
|
||||
}));
|
||||
|
||||
PlatformPeg.get = () => ({ overrideBrowserShortcuts: () => false });
|
||||
|
||||
describe('<QuickThemeSwitcher />', () => {
|
||||
const defaultProps = {
|
||||
requestClose: jest.fn(),
|
||||
|
Reference in New Issue
Block a user