()
| 671 | // eslint-disable-next-line vitest/expect-expect |
| 672 | it('should not change state if unmounted', () => { |
| 673 | function Mutates() { |
| 674 | const { mutate } = useMutation({ mutationFn: () => sleep(10) }) |
| 675 | return <button onClick={() => mutate()}>mutate</button> |
| 676 | } |
| 677 | function Page() { |
| 678 | const [mounted, setMounted] = React.useState(true) |
| 679 | return ( |
nothing calls this directly
no test coverage detected
searching dependent graphs…