This commit is contained in:
Julius Marminge authored and Julius Marminge committed 2026-02-15 15:51:05 -08:00
1 parent 66ebadb448
commit 3d7ef8a833
1 file changed
+4 -6
+4 -6
View File
@@ -18,12 +18,10 @@ describe("keybindings contracts", () => {
it("rejects invalid command values", () => {
assert.throws(() =>
keybindingRuleSchema.parse(
{
key: "mod+j",
command: "invalid.command" as unknown as "terminal.toggle",
},
),
keybindingRuleSchema.parse({
key: "mod+j",
command: "invalid.command",
}),
);
});