Files
2026-01-07 13:04:16 +01:00

7 lines
193 B
TypeScript

import { renderHook } from '@testing-library/react-native';
test('unmounts with renderHook result', () => {
const hookResult = renderHook(() => ({ value: 42 }));
hookResult.unmount();
});