rm
This commit is contained in:
1 parent
66ebadb448
commit
3d7ef8a833
1 file changed
+4
-6
@@ -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",
|
||||
}),
|
||||
);
|
||||
});
|
||||
|
||||
|
||||
Reference in new issue
Block a user