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 59fb484 commit 7e134f2Copy full SHA for 7e134f2
src/client/stdio.test.ts
@@ -59,3 +59,12 @@ test("should read messages", async () => {
59
60
await client.close();
61
});
62
+
63
+test("should return child process pid", async () => {
64
+ const client = new StdioClientTransport(serverParameters);
65
66
+ await client.start();
67
+ expect(client.pid).toBeDefined();
68
+ await client.close();
69
+ expect(client.pid).toBeUndefined();
70
+});
0 commit comments