From 0375f7aeae44ee9e2133daede94d0a78fee6e85b Mon Sep 17 00:00:00 2001 From: "autofix-ci[bot]" <114827586+autofix-ci[bot]@users.noreply.github.com> Date: Thu, 10 Sep 2026 16:53:01 +0000 Subject: [PATCH] [autofix.ci] apply automated fixes --- .../__test__/utils/remote-stream.test.ts | 40 ++++++++----------- 1 file changed, 16 insertions(+), 24 deletions(-) diff --git a/apps/dokploy/__test__/utils/remote-stream.test.ts b/apps/dokploy/__test__/utils/remote-stream.test.ts index f5cf034de..aba384614 100644 --- a/apps/dokploy/__test__/utils/remote-stream.test.ts +++ b/apps/dokploy/__test__/utils/remote-stream.test.ts @@ -40,29 +40,21 @@ describe("pipeBetweenServers", () => { await fs.rm(dir, { recursive: true, force: true }); }, 30_000); - it( - "reports a target failure with its stderr", - async () => { - await expect( - pipeBetweenServers({ - source: { serverId: null, command: "printf x" }, - target: { serverId: null, command: "echo boom >&2; exit 3" }, - }), - ).rejects.toThrow("target exited with code 3: boom"); - }, - 30_000, - ); + it("reports a target failure with its stderr", async () => { + await expect( + pipeBetweenServers({ + source: { serverId: null, command: "printf x" }, + target: { serverId: null, command: "echo boom >&2; exit 3" }, + }), + ).rejects.toThrow("target exited with code 3: boom"); + }, 30_000); - it( - "reports a source failure", - async () => { - await expect( - pipeBetweenServers({ - source: { serverId: null, command: "exit 2" }, - target: { serverId: null, command: "cat > /dev/null" }, - }), - ).rejects.toThrow("source exited with code 2"); - }, - 30_000, - ); + it("reports a source failure", async () => { + await expect( + pipeBetweenServers({ + source: { serverId: null, command: "exit 2" }, + target: { serverId: null, command: "cat > /dev/null" }, + }), + ).rejects.toThrow("source exited with code 2"); + }, 30_000); });