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({