From 41d6a0cc3052626058f42d27b9a5ee9ed7426321 Mon Sep 17 00:00:00 2001 From: Anatoly Laskaris Date: Tue, 31 Oct 2023 16:32:38 +0200 Subject: [PATCH] > --- test/fRPC.integration-test.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/test/fRPC.integration-test.ts b/test/fRPC.integration-test.ts index 6868f59..85fd649 100644 --- a/test/fRPC.integration-test.ts +++ b/test/fRPC.integration-test.ts @@ -47,9 +47,6 @@ async function testGateway(mode?: string, times = 6) { id, }; const response = await gateway.request(request); - console.log(request); - console.log(gateway.getStdout()); - console.log(gateway.getStderr()); expect(response).toMatchObject({ jsonrpc: "2.0", id, @@ -169,7 +166,7 @@ describe("fRPC", () => { const workersMatch = stderr.match(/(\d+)\s*workers/); const workers = - workersMatch?.[1] ?? throwError("Failed to parse workers"); + workersMatch?.[1] ?? throwError(`Failed to parse workers. stdout: ${stdout}, stderr: ${stderr}`); const workersNum = parseInt(workers); expect(workersNum).toBeGreaterThanOrEqual(3);