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);
...
Ulna asked 11/1, 2021 at 12:11
1
© 2022 - 2024 — McMap. All rights reserved.