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

7 lines
211 B
TypeScript

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