stable

Clone or download

Read-only

Refactoring: extract shortcut handlers

So that they can be unit tested. No functional changes. Part of story #16209: Β« Switch to… Β» button Change-Id: Ie1eb836209cef247d6d5124b034e9bef9179faa6

Modified Files

Name
A src/scripts/keyboard-navigation/handle-create-shortcut.test.ts +52 βˆ’0 Go to diff View file
A src/scripts/keyboard-navigation/handle-create-shortcut.ts +33 βˆ’0 Go to diff View file
A src/scripts/keyboard-navigation/handle-dashboard-shortcut.test.ts +62 βˆ’0 Go to diff View file
A src/scripts/keyboard-navigation/handle-dashboard-shortcut.ts +43 βˆ’0 Go to diff View file
A src/scripts/keyboard-navigation/handle-help-shortcut.test.ts +40 βˆ’0 Go to diff View file
A src/scripts/keyboard-navigation/handle-help-shortcut.ts +29 βˆ’0 Go to diff View file
A src/scripts/keyboard-navigation/handle-search-shortcut.test.ts +50 βˆ’0 Go to diff View file
A src/scripts/keyboard-navigation/handle-search-shortcut.ts +30 βˆ’0 Go to diff View file
M src/scripts/keyboard-navigation/index.ts +9 βˆ’45 Go to diff View file