fix(tunnels): update cloudflared download link

This commit is contained in:
Ayoub Achour
2026-08-27 04:10:09 +01:00
parent 2a1c10cb3e
commit 61741e58c4
5 changed files with 15 additions and 4 deletions
@@ -28,4 +28,13 @@ describe('getTunnelDependencyInstallInfo', () => {
expect(info.installCommand).toBe('brew install cloudflared');
});
it('returns the current Linux cloudflared download guidance', () => {
const info = getTunnelDependencyInstallInfo(TUNNEL_PROVIDER_CLOUDFLARE, 'linux');
const downloadUrl = 'https://developers.cloudflare.com/cloudflare-one/networks/connectors/cloudflare-tunnel/downloads/';
expect(info.installUrl).toBe(downloadUrl);
expect(info.installCommand).toBe(`Download cloudflared from ${downloadUrl}`);
expect(info.message).toContain(downloadUrl);
});
});