You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A method returning an array of `ReactTestInstance`s with matching text – may be a string or regular expression.
134
+
A method returning a `ReactTestInstance` with matching a React component type. Throws when no matches.
131
135
132
-
### `getByProps: (props: { [propName: string]: any })`
136
+
> This method has been **deprecated** because using it results in fragile tests that may break between minor React Native versions. It will be removed in next major release (v2.0). Use [`getByType`](#getbytype-type-reactcomponenttype) instead.
133
137
134
-
A method returning a `ReactTestInstance` with matching props object. Throws when no matches.
### `getAllByProps: (props: { [propName: string]: any })`
140
+
A method returning an array of `ReactTestInstance`s with matching a React component type.
137
141
138
-
A method returning an array of `ReactTestInstance`s with matching props object.
142
+
> This method has been **deprecated** because using it results in fragile tests that may break between minor React Native versions. It will be removed in next major release (v2.0). Use [`getAllByType`](#getallbytype-type-reactcomponenttype) instead.
0 commit comments