From 931d8bbb394058797ce531f11b2e875747fbeb2d Mon Sep 17 00:00:00 2001 From: ncdiehl11 Date: Thu, 11 Apr 2024 18:08:34 -0400 Subject: [PATCH] fix typecheck --- .../__tests__/useCreateProtocolAnalysisMutation.test.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/react-api-client/src/protocols/__tests__/useCreateProtocolAnalysisMutation.test.tsx b/react-api-client/src/protocols/__tests__/useCreateProtocolAnalysisMutation.test.tsx index cbec8296a19..e04c020fb1d 100644 --- a/react-api-client/src/protocols/__tests__/useCreateProtocolAnalysisMutation.test.tsx +++ b/react-api-client/src/protocols/__tests__/useCreateProtocolAnalysisMutation.test.tsx @@ -35,7 +35,7 @@ describe('useCreateProtocolAnalysisMutation hook', () => { vi.mocked(createProtocolAnalysis).mockRejectedValue('oh no') const { result } = renderHook( - () => useCreateProtocolAnalysisMutation({}, 'fake-protocol-key'), + () => useCreateProtocolAnalysisMutation('fake-protocol-key'), { wrapper, } @@ -58,7 +58,7 @@ describe('useCreateProtocolAnalysisMutation hook', () => { } as Response) const { result } = renderHook( - () => useCreateProtocolAnalysisMutation({}, 'fake-protocol-key'), + () => useCreateProtocolAnalysisMutation('fake-protocol-key'), { wrapper, }