Skip to content

Commit

Permalink
ci(react-query): resolve test:lib error (#6979)
Browse files Browse the repository at this point in the history
* ci(react-query): resolve error

* test(react-query): update useMutation.test.tsx

* chore: format
  • Loading branch information
manudeli committed Feb 27, 2024
1 parent be2bf30 commit 6b96736
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/react-query/src/__tests__/useMutation.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1138,6 +1138,8 @@ describe('useMutation', () => {

fireEvent.click(rendered.getByRole('button', { name: /mutate/i }))

await rendered.findByText('data: custom client, status: success')
await waitFor(() =>
rendered.findByText('data: custom client, status: success'),
)
})
})

0 comments on commit 6b96736

Please sign in to comment.