Skip to content

Commit 2be2b35

Browse files
committed
add link to examples
1 parent 1fb07d2 commit 2be2b35

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -483,12 +483,14 @@ Callback that is called when an error occurs inside the date picker native code
483483

484484
## Testing with Jest
485485

486-
If you're rendering the picker component (using the react-native-testing-library or similar), you need to mock the native module:
486+
If you're rendering the picker component (using the `@testing-library/react-native` or similar), you need to mock the native module:
487487

488488
```
489489
"setupFiles": ["./node_modules/@react-native-community/datetimepicker/jest/setup.js"]
490490
```
491491

492+
For examples of how you can write your tests, look [here](/test/userlandTestExamples.test.js).
493+
492494
## Migration from the older components
493495

494496
Please see [migration.md](/docs/migration.md)

0 commit comments

Comments
 (0)