test(gateway): align lock conflict success expectation

This commit is contained in:
Peter Steinberger
2026-04-30 16:39:12 +01:00
parent 1a2228d291
commit 46888f5afb

View File

@@ -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();
});