From 14537cbaba20b000e87f3c4bf5bd0dbfbdeafb57 Mon Sep 17 00:00:00 2001 From: kbariotis Date: Sat, 20 Mar 2021 16:26:22 +0200 Subject: [PATCH] update tests --- src/actions/shortcuts.ts | 2 -- src/components/App.tsx | 1 - src/tests/regressionTests.test.tsx | 1 - 3 files changed, 4 deletions(-) diff --git a/src/actions/shortcuts.ts b/src/actions/shortcuts.ts index 732e34dcf..4c9bc60c4 100644 --- a/src/actions/shortcuts.ts +++ b/src/actions/shortcuts.ts @@ -20,7 +20,6 @@ export type ShortcutName = | "group" | "ungroup" | "gridMode" - | "autoSave" | "zenMode" | "stats" | "addToLibrary" @@ -52,7 +51,6 @@ const shortcutMap: Record = { ], copyAsPng: [getShortcutKey("Shift+Alt+C")], copyAsSvg: [], - autoSave: [], group: [getShortcutKey("CtrlOrCmd+G")], ungroup: [getShortcutKey("CtrlOrCmd+Shift+G")], gridMode: [getShortcutKey("CtrlOrCmd+'")], diff --git a/src/components/App.tsx b/src/components/App.tsx index 816fa2205..587738f5b 100644 --- a/src/components/App.tsx +++ b/src/components/App.tsx @@ -3863,7 +3863,6 @@ class App extends React.Component { actionToggleZenMode, typeof this.props.viewModeEnabled === "undefined" && actionToggleViewMode, - separator, actionToggleStats, ], top: clientY, diff --git a/src/tests/regressionTests.test.tsx b/src/tests/regressionTests.test.tsx index b9e0bd124..a0bba4f42 100644 --- a/src/tests/regressionTests.test.tsx +++ b/src/tests/regressionTests.test.tsx @@ -624,7 +624,6 @@ describe("regression tests", () => { "gridMode", "zenMode", "viewMode", - "autoSave", "stats", ];