File tree 1 file changed +1
-2
lines changed
1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ import '@testing-library/react-native/extend-expect';
53
53
## Example
54
54
55
55
``` jsx
56
- import { render , screen , fireEvent } from ' @testing-library/react-native' ;
56
+ import { render , screen , userEvent } from ' @testing-library/react-native' ;
57
57
import { QuestionsBoard } from ' ../QuestionsBoard' ;
58
58
59
59
// It is recommended to use userEvent with fake timers
@@ -109,7 +109,6 @@ React Native Testing Library consists of following APIs:
109
109
- [ Migration to 12.0] ( https://callstack.github.io/react-native-testing-library/docs/migration/v12 )
110
110
- [ Migration to built-in Jest Matchers] ( https://callstack.github.io/react-native-testing-library/docs/migration/jest-matchers )
111
111
112
-
113
112
## Troubleshooting
114
113
115
114
- [ Troubleshooting guide] ( https://callstack.github.io/react-native-testing-library/docs/guides/troubleshooting )
You can’t perform that action at this time.
0 commit comments