()
| 750 | // eslint-disable-next-line vitest/expect-expect |
| 751 | it('should not change state if unmounted', () => { |
| 752 | function Mutates() { |
| 753 | const mutation = useMutation(() => ({ mutationFn: () => sleep(10) })) |
| 754 | return <button onClick={() => mutation.mutate()}>mutate</button> |
| 755 | } |
| 756 | function Page() { |
| 757 | const [mounted, setMounted] = createSignal(true) |
| 758 | return ( |
nothing calls this directly
no test coverage detected
searching dependent graphs…