We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 08c3952 commit 569344eCopy full SHA for 569344e
src/fireEvent.ts
@@ -8,10 +8,6 @@ import { getHostComponentNames } from './helpers/host-component-names';
8
type EventHandler = (...args: any) => unknown;
9
10
function isTextInput(element: ReactTestInstance) {
11
- if (!element) {
12
- return false;
13
- }
14
-
15
// We have to test if the element type is either the `TextInput` component
16
// (for composite component) or the string "TextInput" (for host component)
17
// All queries return host components but since fireEvent bubbles up
0 commit comments