Skip to content

Commit

Permalink
expect ts error for useUpdateRepo as it's not typed yet
Browse files Browse the repository at this point in the history
  • Loading branch information
nicholas-codecov committed Nov 21, 2024
1 parent 19770fe commit 4668dd4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/services/repo/useUpdateRepo.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,8 @@ describe('useUpdateRepo', () => {
wrapper: wrapper(),
})

result.current.mutate()
// @ts-expect-error - mutation hasn't been typed yet
result.current.mutate({ activated: true })

await waitFor(() => expect(result.current.isSuccess).toBeTruthy())
})
Expand Down

0 comments on commit 4668dd4

Please sign in to comment.