mirror of
https://github.com/zadam/trilium.git
synced 2025-11-08 23:49:00 +01:00
chore(test): add vitest for NumpadEnter
This commit is contained in:
parent
4cb328bdb3
commit
26ea43d604
@ -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…
x
Reference in New Issue
Block a user