From f1eba1bfc809b4de33c8e6e3d59ee45ef006481a Mon Sep 17 00:00:00 2001 From: Daniel <25051234+dasanra@users.noreply.github.com> Date: Wed, 16 Oct 2024 16:34:19 +0200 Subject: [PATCH] chore: skip @typescript lint warning --- src/hooks/useSafeInfo/index.test.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/hooks/useSafeInfo/index.test.ts b/src/hooks/useSafeInfo/index.test.ts index da37921..b1a297d 100644 --- a/src/hooks/useSafeInfo/index.test.ts +++ b/src/hooks/useSafeInfo/index.test.ts @@ -51,6 +51,7 @@ describe('useSafeInfo', () => { }) it('should return fetch and return Safe infos using individual hooks', () => { + // eslint-disable-next-line @typescript-eslint/no-unused-vars const { refetch, ...expectedResult } = createCustomQueryResult({ status: 'success', data: safeInfo @@ -98,6 +99,7 @@ describe('useSafeInfo', () => { it('should return with loading state + partial data if any individual hook returns with loading state', async () => { useThresholdSpy.mockReturnValueOnce(createCustomQueryResult({ status: 'pending' })) + // eslint-disable-next-line @typescript-eslint/no-unused-vars const { refetch, ...expectedResult } = { ...queryPendingResult, data: { ...safeInfo, threshold: undefined } @@ -127,6 +129,7 @@ describe('useSafeInfo', () => { useAddressSpy.mockReturnValueOnce(queryLoadingErrorResult) useOwnersSpy.mockReturnValueOnce(queryLoadingErrorResult) + // eslint-disable-next-line @typescript-eslint/no-unused-vars const { refetch, ...expectedResult } = { ...queryLoadingErrorResult, errorUpdateCount: 2,