Document keyboard shortcuts (#7908)
This commit is contained in:
parent
84bd136657
commit
a58b1e9d79
6 changed files with 91 additions and 19 deletions
|
@ -60,7 +60,7 @@ describe("KeyboardUserSettingsTab", () => {
|
|||
|
||||
it("doesn't render same modifier twice", async () => {
|
||||
mockKeyboardShortcuts({
|
||||
"getKeyboardShortcuts": () => ({
|
||||
"getKeyboardShortcutsForUI": () => ({
|
||||
"keybind1": {
|
||||
default: {
|
||||
key: Key.A,
|
||||
|
@ -76,7 +76,7 @@ describe("KeyboardUserSettingsTab", () => {
|
|||
jest.resetModules();
|
||||
|
||||
mockKeyboardShortcuts({
|
||||
"getKeyboardShortcuts": () => ({
|
||||
"getKeyboardShortcutsForUI": () => ({
|
||||
"keybind1": {
|
||||
default: {
|
||||
key: Key.A,
|
||||
|
@ -94,7 +94,7 @@ describe("KeyboardUserSettingsTab", () => {
|
|||
|
||||
it("renders list of keyboard shortcuts", async () => {
|
||||
mockKeyboardShortcuts({
|
||||
"getKeyboardShortcuts": () => ({
|
||||
"getKeyboardShortcutsForUI": () => ({
|
||||
"keybind1": {
|
||||
default: {
|
||||
key: Key.A,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue