From 9548d55423ba28bd063da1ad49ccd3dbea99d86c Mon Sep 17 00:00:00 2001 From: Gonzalo Riestra Date: Wed, 26 Jun 2024 14:40:13 -0400 Subject: [PATCH] Fix tests --- packages/plugin-cloudflare/src/install-cloudflared.test.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/plugin-cloudflare/src/install-cloudflared.test.ts b/packages/plugin-cloudflare/src/install-cloudflared.test.ts index 4ff721bded..a8c009c885 100644 --- a/packages/plugin-cloudflare/src/install-cloudflared.test.ts +++ b/packages/plugin-cloudflare/src/install-cloudflared.test.ts @@ -46,7 +46,7 @@ describe('install-cloudflare', () => { // Then // expect(global.fetch).not.toHaveBeenCalled() expect(global.fetch).toHaveBeenCalledWith( - 'https://github.com/cloudflare/cloudflared/releases/download/2024.2.1/cloudflared-darwin-amd64.tgz', + 'https://github.com/cloudflare/cloudflared/releases/download/2024.6.1/cloudflared-darwin-amd64.tgz', expect.anything(), ) }) @@ -61,7 +61,7 @@ describe('install-cloudflare', () => { // Then // expect(global.fetch).not.toHaveBeenCalled() expect(global.fetch).toHaveBeenCalledWith( - 'https://github.com/cloudflare/cloudflared/releases/download/2024.2.1/cloudflared-linux-amd64', + 'https://github.com/cloudflare/cloudflared/releases/download/2024.6.1/cloudflared-linux-amd64', expect.anything(), ) }) @@ -75,7 +75,7 @@ describe('install-cloudflare', () => { // Then expect(global.fetch).toHaveBeenCalledWith( - 'https://github.com/cloudflare/cloudflared/releases/download/2024.2.1/cloudflared-windows-amd64.exe', + 'https://github.com/cloudflare/cloudflared/releases/download/2024.6.1/cloudflared-windows-amd64.exe', expect.anything(), ) })