fix(ci): sync frontend tests with grid changes

This commit is contained in:
t8y2 committed 2026-08-25 11:02:27 +08:00
1 parent 4be1928d15
commit 08365d73eb
8 files changed
+25 -10

No files matched your search

+3 -2
View File
@@ -392,8 +392,9 @@ test("matches Cmd+S for saving", () => {
assert.equal(isSaveShortcut({ key: "s", metaKey: true }), true);
});
test("matches Mod+D for copying current row", () => {
assert.equal(isCopyCurrentRowShortcut({ key: "d", metaKey: true }), true);
test("leaves copy current row disabled by default while honoring custom shortcuts", () => {
assert.equal(isCopyCurrentRowShortcut({ key: "d", metaKey: true }), false);
assert.equal(isCopyCurrentRowShortcut({ key: "d", altKey: true }, { copyCurrentRow: "Alt+D" }), true);
});
test("matches Delete for deleting current row", () => {