We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 13002b8 commit 012cb31Copy full SHA for 012cb31
tests/integration/run-command.test.ts
@@ -9,6 +9,21 @@ describe("runCommand", () => {
9
// that's fine and to be expected... tests still pass...
10
// TODO setup a way to bypass the error output for tests, unless troubleshooting the test
11
12
+ // TODO! update to latest format for responses, which makes way more sense to me:
13
+ // https://modelcontextprotocol.io/specification/2025-06-18/basic/index
14
+ //
15
+ // jsonrpc: "2.0";
16
+ // id: string | number;
17
+ // result?: {
18
+ // [key: string]: unknown;
19
+ // }
20
+ // error?: {
21
+ // code: number;
22
+ // message: string;
23
+ // data?: unknown;
24
25
26
+
27
describe("when command is successful", () => {
28
const request = runCommand({
29
command: "cat",
0 commit comments