Skip to content

Commit

Permalink
test(types): remove ts-expect-error from query test file
Browse files Browse the repository at this point in the history
  • Loading branch information
artysidorenko committed Jun 2, 2022
1 parent ed43e34 commit d95571b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/core/tests/query.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -810,7 +810,6 @@ describe('query', () => {

const observer = new QueryObserver(queryClient, {
queryKey: key,
// @ts-expect-error (queryFn must not return undefined)
queryFn: () => undefined,
retry: false,
})
Expand Down

0 comments on commit d95571b

Please sign in to comment.