native-testing-library Questions

1

How do I check that this TextInput component is focused? I know how to do it on the web: const input = getByPlaceholderText("placeholder"); expect(document.activeElement).toEqual(input); ...
1

© 2022 - 2024 — McMap. All rights reserved.