Skip to content

Commit dc854a9

Browse files
authored
docs: Fix typo in migration doc (#411)
1 parent 362d372 commit dc854a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

website/docs/MigrationV2.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ The `*ByType` and `*ByProps` queries has been prefixed with `UNSAFE_`. These `UN
105105

106106
## Some `ByTestId` queries behavior changes
107107

108-
In version `1.x` the `getByTestId` and `queryByTestId` queries could return non-native tinstances. This was a serious bug. Other query functions like `getAllByTestId`, `queryAllByTestId`, `findByTestId` and `findAllByTestId` didn't have this issue. These correctly returned only native components instances (e.g. `View`, `Text`, etc) that got the `testID`.
108+
In version `1.x` the `getByTestId` and `queryByTestId` queries could return non-native instances. This was a serious bug. Other query functions like `getAllByTestId`, `queryAllByTestId`, `findByTestId` and `findAllByTestId` didn't have this issue. These correctly returned only native components instances (e.g. `View`, `Text`, etc) that got the `testID`.
109109

110110
In v2 we fixed this inconsistency, which may result in failing tests, if you relied on this behavior. There are few ways to handle these failures:
111111

0 commit comments

Comments
 (0)