From 3acf46ed45d5b58ebf19964ecaf802e3556570ed Mon Sep 17 00:00:00 2001 From: Vincent Koc Date: Sat, 7 Mar 2026 10:18:52 -0800 Subject: [PATCH] Tests: fix doctor gateway auth token formatting --- .../doctor-gateway-auth-token.test.ts | 30 +++++++++++++++---- 1 file changed, 25 insertions(+), 5 deletions(-) diff --git a/src/commands/doctor-gateway-auth-token.test.ts b/src/commands/doctor-gateway-auth-token.test.ts index d3a0c0383de..5ff570814fe 100644 --- a/src/commands/doctor-gateway-auth-token.test.ts +++ b/src/commands/doctor-gateway-auth-token.test.ts @@ -29,7 +29,11 @@ describe("resolveGatewayAuthTokenForService", () => { { gateway: { auth: { - token: { source: "env", provider: "default", id: "CUSTOM_GATEWAY_TOKEN" }, + token: { + source: "env", + provider: "default", + id: "CUSTOM_GATEWAY_TOKEN", + }, }, }, secrets: { @@ -73,7 +77,11 @@ describe("resolveGatewayAuthTokenForService", () => { { gateway: { auth: { - token: { source: "env", provider: "default", id: "MISSING_GATEWAY_TOKEN" }, + token: { + source: "env", + provider: "default", + id: "MISSING_GATEWAY_TOKEN", + }, }, }, secrets: { @@ -95,7 +103,11 @@ describe("resolveGatewayAuthTokenForService", () => { { gateway: { auth: { - token: { source: "env", provider: "default", id: "CUSTOM_GATEWAY_TOKEN" }, + token: { + source: "env", + provider: "default", + id: "CUSTOM_GATEWAY_TOKEN", + }, }, }, secrets: { @@ -118,7 +130,11 @@ describe("resolveGatewayAuthTokenForService", () => { { gateway: { auth: { - token: { source: "env", provider: "default", id: "MISSING_GATEWAY_TOKEN" }, + token: { + source: "env", + provider: "default", + id: "MISSING_GATEWAY_TOKEN", + }, }, }, secrets: { @@ -184,7 +200,11 @@ describe("shouldRequireGatewayTokenForInstall", () => { { gateway: { auth: { - password: { source: "env", provider: "default", id: "CUSTOM_GATEWAY_PASSWORD" }, + password: { + source: "env", + provider: "default", + id: "CUSTOM_GATEWAY_PASSWORD", + }, }, }, secrets: {