From 7d02d54e83fac85d00d2c9aa8366b4d1725bf9de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isaac=20Rold=C3=A1n?= Date: Wed, 18 Dec 2024 12:13:29 +0100 Subject: [PATCH] Update tests --- packages/cli-kit/src/public/node/api/graphql.test.ts | 9 --------- 1 file changed, 9 deletions(-) diff --git a/packages/cli-kit/src/public/node/api/graphql.test.ts b/packages/cli-kit/src/public/node/api/graphql.test.ts index 969118b44f4..9a1203d6d0c 100644 --- a/packages/cli-kit/src/public/node/api/graphql.test.ts +++ b/packages/cli-kit/src/public/node/api/graphql.test.ts @@ -40,9 +40,6 @@ beforeEach(async () => { describe('graphqlRequest', () => { test('calls debugLogRequestInfo once', async () => { - // Given - const retryAwareSpy = vi.spyOn(api, 'retryAwareRequest') - // When await graphqlRequest({ query: 'query', @@ -62,12 +59,6 @@ describe('graphqlRequest', () => { }, }) expect(debugRequest.debugLogRequestInfo).toHaveBeenCalledOnce() - const receivedObject = { - request: expect.any(Function), - url: mockedAddress, - } - - expect(retryAwareSpy).toHaveBeenCalledWith(receivedObject, expect.any(Function), undefined) }) test('Logs the request ids to metadata and requestIdCollection', async () => {