| author | |
| committer | |
| log | 3d7ef8a833dbd38f847c4ba212ebee61eb53a9f1 |
| tree | 6d75ce485d58707f021e03fde3dde20ad21e9968 |
| parent | 66ebadb4483af03af479aa1b9805d7a1f45aa6cc |
1 files changed, 4 insertions(+), 6 deletions(-)
packages/contracts/src/keybindings.test.ts+4-6| ... | ... | @@ -18,12 +18,10 @@ describe("keybindings contracts", () => { |
| 18 | 18 | |
| 19 | 19 | it("rejects invalid command values", () => { |
| 20 | 20 | assert.throws(() => |
| 21 | keybindingRuleSchema.parse( | |
| 22 | { | |
| 23 | key: "mod+j", | |
| 24 | command: "invalid.command" as unknown as "terminal.toggle", | |
| 25 | }, | |
| 26 | ), | |
| 21 | keybindingRuleSchema.parse({ | |
| 22 | key: "mod+j", | |
| 23 | command: "invalid.command", | |
| 24 | }), | |
| 27 | 25 | ); |
| 28 | 26 | }); |
| 29 | 27 |