搜索文档
Home > @lynx-js/react/testing-library > RenderHookResult > unmount
Unmounts the test component. This is useful for when you need to test any cleanup your useEffects have.
Signature:
unmount: () => void;