From 46888f5afbe9132608d990a2ef18e2014a9edff8 Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Thu, 30 Apr 2026 16:39:12 +0100 Subject: [PATCH] test(gateway): align lock conflict success expectation --- src/cli/gateway-cli/run.option-collisions.test.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/cli/gateway-cli/run.option-collisions.test.ts b/src/cli/gateway-cli/run.option-collisions.test.ts index 21de7a83e98..ca8439c6ad0 100644 --- a/src/cli/gateway-cli/run.option-collisions.test.ts +++ b/src/cli/gateway-cli/run.option-collisions.test.ts @@ -317,9 +317,7 @@ describe("gateway run option collisions", () => { }); startGatewayServer.mockRejectedValueOnce(err); - await expect(runGatewayCli(["gateway", "run", "--allow-unconfigured"])).rejects.toThrow( - "__exit__:0", - ); + await runGatewayCli(["gateway", "run", "--allow-unconfigured"]); expect(writeDiagnosticStabilityBundleForFailureSync).not.toHaveBeenCalled(); });