Apply prettier formatting
This commit is contained in:
parent
1cac306093
commit
526645c791
1576 changed files with 65385 additions and 62478 deletions
|
@ -20,14 +20,14 @@ import SystemFontController from "../../../src/settings/controllers/SystemFontCo
|
|||
import { SettingLevel } from "../../../src/settings/SettingLevel";
|
||||
import SettingsStore from "../../../src/settings/SettingsStore";
|
||||
|
||||
const dispatchSpy = jest.spyOn(dis, 'dispatch');
|
||||
const dispatchSpy = jest.spyOn(dis, "dispatch");
|
||||
|
||||
describe('SystemFontController', () => {
|
||||
it('dispatches a font size action on change', () => {
|
||||
const getValueSpy = jest.spyOn(SettingsStore, 'getValue').mockReturnValue(true);
|
||||
describe("SystemFontController", () => {
|
||||
it("dispatches a font size action on change", () => {
|
||||
const getValueSpy = jest.spyOn(SettingsStore, "getValue").mockReturnValue(true);
|
||||
const controller = new SystemFontController();
|
||||
|
||||
controller.onChange(SettingLevel.ACCOUNT, '$room:server', 12);
|
||||
controller.onChange(SettingLevel.ACCOUNT, "$room:server", 12);
|
||||
|
||||
expect(dispatchSpy).toHaveBeenCalledWith({
|
||||
action: Action.UpdateSystemFont,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue