mirror of
https://github.com/zadam/trilium.git
synced 2025-11-11 06:10:55 +08:00
chore(test): add vitest for NumpadEnter
This commit is contained in:
parent
4cb328bdb3
commit
26ea43d604
1 changed files with 1 additions and 1 deletions
|
|
@ -159,7 +159,7 @@ describe("shortcuts", () => {
|
|||
expect(matchesShortcut(event, "Shift+F1")).toBeTruthy();
|
||||
|
||||
// Special keys
|
||||
for (const keyCode of [ "Delete", "Enter" ]) {
|
||||
for (const keyCode of [ "Delete", "Enter", "NumpadEnter" ]) {
|
||||
event = createKeyboardEvent({ key: keyCode, code: keyCode });
|
||||
expect(matchesShortcut(event, keyCode), `Key ${keyCode}`).toBeTruthy();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue