style: format gateway call helpers

This commit is contained in:
Peter Steinberger
2026-01-08 01:51:38 +00:00
parent 6aa6c837e7
commit 2f707ad4ad
2 changed files with 41 additions and 78 deletions

View File

@@ -118,7 +118,9 @@ describe("callGateway error details", () => {
startMode = "close";
closeCode = 1006;
closeReason = "";
loadConfig.mockReturnValue({ gateway: { mode: "local", bind: "loopback" } });
loadConfig.mockReturnValue({
gateway: { mode: "local", bind: "loopback" },
});
resolveGatewayPort.mockReturnValue(18789);
pickPrimaryTailnetIPv4.mockReturnValue(undefined);
@@ -137,7 +139,9 @@ describe("callGateway error details", () => {
it("includes connection details on timeout", async () => {
startMode = "silent";
loadConfig.mockReturnValue({ gateway: { mode: "local", bind: "loopback" } });
loadConfig.mockReturnValue({
gateway: { mode: "local", bind: "loopback" },
});
resolveGatewayPort.mockReturnValue(18789);
pickPrimaryTailnetIPv4.mockReturnValue(undefined);