mirror of
https://github.com/openclaw/openclaw.git
synced 2026-06-06 13:32:54 +00:00
test(gateway): widen tailscale hostname mock
This commit is contained in:
@@ -5,7 +5,7 @@ const mocks = vi.hoisted(() => ({
|
||||
disableTailscaleServe: vi.fn(async () => undefined),
|
||||
enableTailscaleFunnel: vi.fn(async (_port: number) => undefined),
|
||||
disableTailscaleFunnel: vi.fn(async () => undefined),
|
||||
getTailnetHostname: vi.fn(async () => null),
|
||||
getTailnetHostname: vi.fn<() => Promise<string | null>>(async () => null),
|
||||
hasTailscaleFunnelRouteForPort: vi.fn(async (_port: number) => false),
|
||||
}));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user