fix(perf): preserve gateway health benchmark auth

This commit is contained in:
Peter Steinberger
2026-05-28 20:29:04 +01:00
parent ec8ff27803
commit f99259d25c
2 changed files with 25 additions and 4 deletions

View File

@@ -171,7 +171,14 @@ describe("bench-cli-startup", () => {
args: ["config", "get", "gateway.port"],
presets: ["real"],
}),
).toEqual({ gateway: { port: 32123 } });
).toEqual({
gateway: {
auth: { mode: "none" },
bind: "loopback",
mode: "local",
port: 32123,
},
});
expect(
testing.buildConfigFixture({
id: "gatewayHealthJson",
@@ -179,6 +186,13 @@ describe("bench-cli-startup", () => {
args: ["gateway", "health", "--json"],
presets: ["real"],
}),
).toBeNull();
).toEqual({
gateway: {
auth: { mode: "none" },
bind: "loopback",
mode: "local",
port: 32123,
},
});
});
});