From 31f128e86f0844573e8dbea565ca1183b400ce7a Mon Sep 17 00:00:00 2001 From: Shakker Date: Mon, 11 May 2026 14:13:27 +0100 Subject: [PATCH] test: pin tailscale bind diagnostics --- src/config/config.gateway-tailscale-bind.test.ts | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/src/config/config.gateway-tailscale-bind.test.ts b/src/config/config.gateway-tailscale-bind.test.ts index bffe4e996ea..852c9b82693 100644 --- a/src/config/config.gateway-tailscale-bind.test.ts +++ b/src/config/config.gateway-tailscale-bind.test.ts @@ -54,14 +54,13 @@ describe("gateway tailscale bind validation", () => { }); expect(lanRes.ok).toBe(false); if (!lanRes.ok) { - expect(lanRes.issues).toEqual( - expect.arrayContaining([ - expect.objectContaining({ - path: "gateway.bind", - message: expect.stringContaining("gateway.bind must resolve to loopback"), - }), - ]), - ); + expect(lanRes.issues).toEqual([ + { + path: "gateway.bind", + message: + 'gateway.bind must resolve to loopback when gateway.tailscale.mode=serve (use gateway.bind="loopback" or gateway.bind="custom" with gateway.customBindHost="127.0.0.1")', + }, + ]); } const customRes = validateConfigObject({