Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
gonzaloriestra committed Jun 26, 2024
1 parent 25c53bc commit f9cd8fc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/plugin-cloudflare/src/install-cloudflared.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
)
})
Expand All @@ -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(),
)
})
Expand All @@ -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(),
)
})
Expand Down

0 comments on commit f9cd8fc

Please sign in to comment.