Skip to content

Commit 3799d87

Browse files
authored
test(react-query): resolve ESLint typescript-eslint/require-await warnings (#8903)
1 parent 4779747 commit 3799d87

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/react-query/src/__tests__/useMutation.test.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -656,7 +656,7 @@ describe('useMutation', () => {
656656
onlineMock.mockRestore()
657657
})
658658

659-
it('should not change state if unmounted', async () => {
659+
it('should not change state if unmounted', () => {
660660
function Mutates() {
661661
const { mutate } = useMutation({ mutationFn: () => sleep(10) })
662662
return <button onClick={() => mutate()}>mutate</button>

0 commit comments

Comments
 (0)