@testing-library/react-native 12.1.3 → 12.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (262) hide show
  1. package/.DS_Store +0 -0
  2. package/.eslintcache +1 -1
  3. package/build/fireEvent.js +3 -6
  4. package/build/fireEvent.js.map +1 -1
  5. package/build/helpers/deprecation.js +1 -1
  6. package/build/helpers/deprecation.js.map +1 -1
  7. package/build/helpers/host-component-names.d.ts +3 -0
  8. package/build/helpers/host-component-names.js +8 -0
  9. package/build/helpers/host-component-names.js.map +1 -1
  10. package/build/pure.d.ts +2 -0
  11. package/build/pure.js +7 -0
  12. package/build/pure.js.map +1 -1
  13. package/build/user-event/event-builder/common.d.ts +48 -6
  14. package/build/user-event/event-builder/common.js +37 -20
  15. package/build/user-event/event-builder/common.js.map +1 -1
  16. package/build/user-event/event-builder/index.d.ts +94 -0
  17. package/build/user-event/event-builder/index.js +3 -1
  18. package/build/user-event/event-builder/index.js.map +1 -1
  19. package/build/user-event/event-builder/text-input.d.ts +91 -0
  20. package/build/user-event/event-builder/text-input.js +117 -0
  21. package/build/user-event/event-builder/text-input.js.map +1 -0
  22. package/build/user-event/index.d.ts +4 -2
  23. package/build/user-event/index.js +7 -1
  24. package/build/user-event/index.js.map +1 -1
  25. package/build/user-event/press/index.d.ts +1 -1
  26. package/build/user-event/press/index.js +6 -0
  27. package/build/user-event/press/index.js.map +1 -1
  28. package/build/user-event/press/press.d.ts +3 -3
  29. package/build/user-event/press/press.js +55 -62
  30. package/build/user-event/press/press.js.map +1 -1
  31. package/build/user-event/setup/setup.d.ts +33 -3
  32. package/build/user-event/setup/setup.js +14 -1
  33. package/build/user-event/setup/setup.js.map +1 -1
  34. package/build/user-event/type/index.d.ts +1 -1
  35. package/build/user-event/type/index.js +6 -0
  36. package/build/user-event/type/index.js.map +1 -1
  37. package/build/user-event/type/parseKeys.d.ts +1 -0
  38. package/build/user-event/type/parseKeys.js +40 -0
  39. package/build/user-event/type/parseKeys.js.map +1 -0
  40. package/build/user-event/type/type.d.ts +5 -1
  41. package/build/user-event/type/type.js +66 -8
  42. package/build/user-event/type/type.js.map +1 -1
  43. package/build/user-event/utils/content-size.d.ts +15 -0
  44. package/build/user-event/utils/content-size.js +26 -0
  45. package/build/user-event/utils/content-size.js.map +1 -0
  46. package/build/user-event/utils/{events.d.ts → dispatch-event.d.ts} +2 -2
  47. package/build/user-event/utils/dispatch-event.js +36 -0
  48. package/build/user-event/utils/dispatch-event.js.map +1 -0
  49. package/build/user-event/utils/index.d.ts +4 -1
  50. package/build/user-event/utils/index.js +37 -4
  51. package/build/user-event/utils/index.js.map +1 -1
  52. package/build/user-event/utils/text-range.d.ts +5 -0
  53. package/build/user-event/utils/text-range.js +13 -0
  54. package/build/user-event/utils/text-range.js.map +1 -0
  55. package/build/user-event/utils/warn-about-real-timers.d.ts +1 -0
  56. package/build/user-event/utils/warn-about-real-timers.js +20 -0
  57. package/build/user-event/utils/warn-about-real-timers.js.map +1 -0
  58. package/coverage/clover.xml +1176 -0
  59. package/coverage/coverage-final.json +70 -0
  60. package/coverage/lcov-report/base.css +224 -0
  61. package/coverage/lcov-report/block-navigation.js +87 -0
  62. package/coverage/lcov-report/favicon.png +0 -0
  63. package/coverage/lcov-report/index.html +266 -0
  64. package/coverage/lcov-report/prettify.css +1 -0
  65. package/coverage/lcov-report/prettify.js +2 -0
  66. package/coverage/lcov-report/sort-arrow-sprite.png +0 -0
  67. package/coverage/lcov-report/sorter.js +196 -0
  68. package/coverage/lcov-report/src/act.ts.html +343 -0
  69. package/coverage/lcov-report/src/cleanup.ts.html +130 -0
  70. package/coverage/lcov-report/src/config.ts.html +301 -0
  71. package/coverage/lcov-report/src/fireEvent.ts.html +559 -0
  72. package/coverage/lcov-report/src/flushMicroTasks.ts.html +124 -0
  73. package/coverage/lcov-report/src/helpers/accessiblity.ts.html +412 -0
  74. package/coverage/lcov-report/src/helpers/component-tree.ts.html +352 -0
  75. package/coverage/lcov-report/src/helpers/debugDeep.ts.html +166 -0
  76. package/coverage/lcov-report/src/helpers/debugShallow.ts.html +151 -0
  77. package/coverage/lcov-report/src/helpers/deprecation.ts.html +244 -0
  78. package/coverage/lcov-report/src/helpers/errors.ts.html +283 -0
  79. package/coverage/lcov-report/src/helpers/filterNodeByType.ts.html +106 -0
  80. package/coverage/lcov-report/src/helpers/findAll.ts.html +289 -0
  81. package/coverage/lcov-report/src/helpers/format-default.ts.html +301 -0
  82. package/coverage/lcov-report/src/helpers/format.ts.html +226 -0
  83. package/coverage/lcov-report/src/helpers/getTextContent.ts.html +145 -0
  84. package/coverage/lcov-report/src/helpers/host-component-names.tsx.html +286 -0
  85. package/coverage/lcov-report/src/helpers/index.html +326 -0
  86. package/coverage/lcov-report/src/helpers/matchers/accessibilityState.ts.html +229 -0
  87. package/coverage/lcov-report/src/helpers/matchers/accessibilityValue.ts.html +157 -0
  88. package/coverage/lcov-report/src/helpers/matchers/index.html +206 -0
  89. package/coverage/lcov-report/src/helpers/matchers/matchArrayProp.ts.html +148 -0
  90. package/coverage/lcov-report/src/helpers/matchers/matchLabelText.ts.html +238 -0
  91. package/coverage/lcov-report/src/helpers/matchers/matchObjectProp.ts.html +160 -0
  92. package/coverage/lcov-report/src/helpers/matchers/matchStringProp.ts.html +154 -0
  93. package/coverage/lcov-report/src/helpers/matchers/matchTextContent.ts.html +145 -0
  94. package/coverage/lcov-report/src/helpers/query-name.ts.html +97 -0
  95. package/coverage/lcov-report/src/helpers/stringValidation.ts.html +193 -0
  96. package/coverage/lcov-report/src/helpers/timers.ts.html +382 -0
  97. package/coverage/lcov-report/src/index.html +356 -0
  98. package/coverage/lcov-report/src/index.ts.html +184 -0
  99. package/coverage/lcov-report/src/matches.ts.html +232 -0
  100. package/coverage/lcov-report/src/pure.ts.html +157 -0
  101. package/coverage/lcov-report/src/queries/a11yState.ts.html +478 -0
  102. package/coverage/lcov-report/src/queries/a11yValue.ts.html +478 -0
  103. package/coverage/lcov-report/src/queries/displayValue.ts.html +319 -0
  104. package/coverage/lcov-report/src/queries/hintText.ts.html +421 -0
  105. package/coverage/lcov-report/src/queries/index.html +281 -0
  106. package/coverage/lcov-report/src/queries/labelText.ts.html +262 -0
  107. package/coverage/lcov-report/src/queries/makeQueries.ts.html +850 -0
  108. package/coverage/lcov-report/src/queries/placeholderText.ts.html +322 -0
  109. package/coverage/lcov-report/src/queries/role.ts.html +481 -0
  110. package/coverage/lcov-report/src/queries/testId.ts.html +298 -0
  111. package/coverage/lcov-report/src/queries/text.ts.html +283 -0
  112. package/coverage/lcov-report/src/queries/unsafeProps.ts.html +313 -0
  113. package/coverage/lcov-report/src/queries/unsafeType.ts.html +304 -0
  114. package/coverage/lcov-report/src/react-versions.ts.html +118 -0
  115. package/coverage/lcov-report/src/render-act.ts.html +142 -0
  116. package/coverage/lcov-report/src/render.tsx.html +592 -0
  117. package/coverage/lcov-report/src/renderHook.tsx.html +262 -0
  118. package/coverage/lcov-report/src/screen.ts.html +454 -0
  119. package/coverage/lcov-report/src/shallow.ts.html +139 -0
  120. package/coverage/lcov-report/src/test-utils/events.ts.html +145 -0
  121. package/coverage/lcov-report/src/test-utils/index.html +131 -0
  122. package/coverage/lcov-report/src/test-utils/index.ts.html +88 -0
  123. package/coverage/lcov-report/src/user-event/event-builder/common.ts.html +229 -0
  124. package/coverage/lcov-report/src/user-event/event-builder/index.html +146 -0
  125. package/coverage/lcov-report/src/user-event/event-builder/index.ts.html +106 -0
  126. package/coverage/lcov-report/src/user-event/event-builder/test-input.ts.html +343 -0
  127. package/coverage/lcov-report/src/user-event/event-builder/text-input.ts.html +343 -0
  128. package/coverage/lcov-report/src/user-event/index.html +116 -0
  129. package/coverage/lcov-report/src/user-event/index.ts.html +121 -0
  130. package/coverage/lcov-report/src/user-event/press/index.html +131 -0
  131. package/coverage/lcov-report/src/user-event/press/index.ts.html +88 -0
  132. package/coverage/lcov-report/src/user-event/press/press.ts.html +133 -0
  133. package/coverage/lcov-report/src/user-event/setup/index.html +131 -0
  134. package/coverage/lcov-report/src/user-event/setup/index.ts.html +91 -0
  135. package/coverage/lcov-report/src/user-event/setup/setup.ts.html +358 -0
  136. package/coverage/lcov-report/src/user-event/type/index.html +146 -0
  137. package/coverage/lcov-report/src/user-event/type/index.ts.html +88 -0
  138. package/coverage/lcov-report/src/user-event/type/parseKeys.ts.html +208 -0
  139. package/coverage/lcov-report/src/user-event/type/type.ts.html +484 -0
  140. package/coverage/lcov-report/src/user-event/utils/content-size.ts.html +160 -0
  141. package/coverage/lcov-report/src/user-event/utils/dispatch-event.ts.html +367 -0
  142. package/coverage/lcov-report/src/user-event/utils/events.ts.html +247 -0
  143. package/coverage/lcov-report/src/user-event/utils/index.html +176 -0
  144. package/coverage/lcov-report/src/user-event/utils/index.ts.html +97 -0
  145. package/coverage/lcov-report/src/user-event/utils/text-range.ts.html +118 -0
  146. package/coverage/lcov-report/src/user-event/utils/wait.ts.html +130 -0
  147. package/coverage/lcov-report/src/waitFor.ts.html +772 -0
  148. package/coverage/lcov-report/src/waitForElementToBeRemoved.ts.html +211 -0
  149. package/coverage/lcov-report/src/within.ts.html +175 -0
  150. package/coverage/lcov.info +2614 -0
  151. package/examples/.DS_Store +0 -0
  152. package/examples/basic/.expo/README.md +17 -0
  153. package/examples/basic/.expo/devices.json +3 -0
  154. package/examples/basic/.expo/packager-info.json +4 -0
  155. package/examples/basic/.expo/settings.json +8 -0
  156. package/examples/basic/package.json +7 -7
  157. package/examples/basic/yarn-error.log +8083 -0
  158. package/examples/basic/yarn.lock +8878 -0
  159. package/examples/react-navigation/README.md +2 -0
  160. package/examples/react-navigation/package.json +5 -5
  161. package/examples/react-navigation/yarn.lock +5610 -0
  162. package/examples/redux/README.md +5 -0
  163. package/examples/redux/package.json +7 -7
  164. package/examples/redux/yarn-error.log +8083 -0
  165. package/examples/redux/yarn.lock +8423 -0
  166. package/experiments-app/.expo/settings.json +2 -1
  167. package/experiments-app/src/screens/TextInputEvents.tsx +10 -0
  168. package/package.json +1 -1
  169. package/src/.DS_Store +0 -0
  170. package/src/__tests__/.DS_Store +0 -0
  171. package/src/__tests__/act.test.tsx +4 -0
  172. package/src/fireEvent.ts +2 -6
  173. package/src/helpers/deprecation.ts +1 -1
  174. package/src/helpers/host-component-names.tsx +8 -0
  175. package/src/pure.ts +2 -0
  176. package/src/user-event/event-builder/common.ts +35 -19
  177. package/src/user-event/event-builder/index.ts +2 -0
  178. package/src/user-event/event-builder/text-input.ts +86 -0
  179. package/src/user-event/index.ts +6 -3
  180. package/src/user-event/press/__tests__/longPress.real-timers.test.tsx +4 -2
  181. package/src/user-event/press/__tests__/press.real-timers.test.tsx +4 -2
  182. package/src/user-event/press/__tests__/press.test.tsx +40 -5
  183. package/src/user-event/press/index.ts +1 -1
  184. package/src/user-event/press/press.ts +93 -58
  185. package/src/user-event/setup/setup.ts +39 -5
  186. package/src/user-event/type/__tests__/__snapshots__/type-managed.test.tsx.snap +339 -0
  187. package/src/user-event/type/__tests__/__snapshots__/type.test.tsx.snap +644 -2
  188. package/src/user-event/type/__tests__/parseKeys.test.ts +23 -0
  189. package/src/user-event/type/__tests__/type-managed.test.tsx +121 -0
  190. package/src/user-event/type/__tests__/type.test.tsx +300 -27
  191. package/src/user-event/type/index.ts +1 -1
  192. package/src/user-event/type/parseKeys.ts +41 -0
  193. package/src/user-event/type/type.ts +125 -10
  194. package/src/user-event/utils/__tests__/dispatch-event.test.tsx +41 -0
  195. package/src/user-event/utils/content-size.ts +25 -0
  196. package/src/user-event/utils/dispatch-event.ts +38 -0
  197. package/src/user-event/utils/index.ts +4 -1
  198. package/src/user-event/utils/text-range.ts +11 -0
  199. package/src/user-event/{press/utils/warnAboutRealTimers.ts → utils/warn-about-real-timers.ts} +8 -1
  200. package/website/.DS_Store +0 -0
  201. package/website/.docusaurus/DONT-EDIT-THIS-FOLDER +5 -0
  202. package/website/.docusaurus/client-modules.js +6 -0
  203. package/website/.docusaurus/codeTranslations.json +1 -0
  204. package/website/.docusaurus/docusaurus-plugin-content-blog/default/blog-post-list-prop-default.json +4 -0
  205. package/website/.docusaurus/docusaurus-plugin-content-blog/default/plugin-route-context-module-100.json +4 -0
  206. package/website/.docusaurus/docusaurus-plugin-content-docs/default/plugin-route-context-module-100.json +4 -0
  207. package/website/.docusaurus/docusaurus-plugin-content-docs/default/site-docs-api-md-c82.json +27 -0
  208. package/website/.docusaurus/docusaurus-plugin-content-docs/default/site-docs-eslint-p-llugin-testing-library-md-d24.json +27 -0
  209. package/website/.docusaurus/docusaurus-plugin-content-docs/default/site-docs-faq-md-ad8.json +27 -0
  210. package/website/.docusaurus/docusaurus-plugin-content-docs/default/site-docs-getting-started-md-8a6.json +23 -0
  211. package/website/.docusaurus/docusaurus-plugin-content-docs/default/site-docs-how-should-i-query-md-f2d.json +27 -0
  212. package/website/.docusaurus/docusaurus-plugin-content-docs/default/site-docs-migration-v-11-md-add.json +27 -0
  213. package/website/.docusaurus/docusaurus-plugin-content-docs/default/site-docs-migration-v-12-md-14f.json +27 -0
  214. package/website/.docusaurus/docusaurus-plugin-content-docs/default/site-docs-migration-v-2-md-698.json +27 -0
  215. package/website/.docusaurus/docusaurus-plugin-content-docs/default/site-docs-migration-v-7-md-6bb.json +27 -0
  216. package/website/.docusaurus/docusaurus-plugin-content-docs/default/site-docs-migration-v-9-md-f69.json +27 -0
  217. package/website/.docusaurus/docusaurus-plugin-content-docs/default/site-docs-queries-md-7ad.json +27 -0
  218. package/website/.docusaurus/docusaurus-plugin-content-docs/default/site-docs-react-navigation-md-1bd.json +27 -0
  219. package/website/.docusaurus/docusaurus-plugin-content-docs/default/site-docs-redux-integration-md-77b.json +23 -0
  220. package/website/.docusaurus/docusaurus-plugin-content-docs/default/site-docs-testing-environment-md-1c6.json +27 -0
  221. package/website/.docusaurus/docusaurus-plugin-content-docs/default/site-docs-troubleshooting-md-01d.json +27 -0
  222. package/website/.docusaurus/docusaurus-plugin-content-docs/default/site-docs-understanding-act-md-aa9.json +27 -0
  223. package/website/.docusaurus/docusaurus-plugin-content-docs/default/site-docs-user-event-md-501.json +27 -0
  224. package/website/.docusaurus/docusaurus-plugin-content-docs/default/version-current-metadata-prop-751.json +268 -0
  225. package/website/.docusaurus/docusaurus-plugin-content-docs/react-native-testing-library-docs-route-96e.json +115 -0
  226. package/website/.docusaurus/docusaurus-plugin-content-docs/site-docs-api-md-c82.json +19 -0
  227. package/website/.docusaurus/docusaurus-plugin-content-docs/site-docs-eslint-p-llugin-testing-library-md-d24.json +19 -0
  228. package/website/.docusaurus/docusaurus-plugin-content-docs/site-docs-faq-md-ad8.json +19 -0
  229. package/website/.docusaurus/docusaurus-plugin-content-docs/site-docs-getting-started-md-8a6.json +15 -0
  230. package/website/.docusaurus/docusaurus-plugin-content-docs/site-docs-how-should-i-query-md-f2d.json +19 -0
  231. package/website/.docusaurus/docusaurus-plugin-content-docs/site-docs-migration-v-11-md-add.json +19 -0
  232. package/website/.docusaurus/docusaurus-plugin-content-docs/site-docs-migration-v-2-md-698.json +19 -0
  233. package/website/.docusaurus/docusaurus-plugin-content-docs/site-docs-migration-v-7-md-6bb.json +19 -0
  234. package/website/.docusaurus/docusaurus-plugin-content-docs/site-docs-migration-v-9-md-f69.json +19 -0
  235. package/website/.docusaurus/docusaurus-plugin-content-docs/site-docs-queries-md-7ad.json +19 -0
  236. package/website/.docusaurus/docusaurus-plugin-content-docs/site-docs-react-navigation-md-1bd.json +19 -0
  237. package/website/.docusaurus/docusaurus-plugin-content-docs/site-docs-redux-integration-md-77b.json +15 -0
  238. package/website/.docusaurus/docusaurus-plugin-content-docs/site-docs-troubleshooting-md-01d.json +19 -0
  239. package/website/.docusaurus/docusaurus-plugin-content-docs/site-docs-understanding-act-md-aa9.json +19 -0
  240. package/website/.docusaurus/docusaurus-plugin-content-pages/default/plugin-route-context-module-100.json +4 -0
  241. package/website/.docusaurus/docusaurus-plugin-debug/default/docusaurus-debug-all-content-673.json +623 -0
  242. package/website/.docusaurus/docusaurus-plugin-debug/default/plugin-route-context-module-100.json +4 -0
  243. package/website/.docusaurus/docusaurus-theme-search-algolia/default/plugin-route-context-module-100.json +4 -0
  244. package/website/.docusaurus/docusaurus.config.js +267 -0
  245. package/website/.docusaurus/docusaurus.config.mjs +365 -0
  246. package/website/.docusaurus/globalData.json +113 -0
  247. package/website/.docusaurus/i18n.json +17 -0
  248. package/website/.docusaurus/registry.js +35 -0
  249. package/website/.docusaurus/routes.js +162 -0
  250. package/website/.docusaurus/routesChunkNames.json +133 -0
  251. package/website/.docusaurus/site-metadata.json +36 -0
  252. package/website/docs/API.md +19 -25
  253. package/website/docs/UserEvent.md +86 -9
  254. package/website/sidebars.js +1 -1
  255. package/yarn-error.log +10613 -0
  256. package/build/user-event/press/utils/warnAboutRealTimers.d.ts +0 -1
  257. package/build/user-event/press/utils/warnAboutRealTimers.js +0 -14
  258. package/build/user-event/press/utils/warnAboutRealTimers.js.map +0 -1
  259. package/build/user-event/utils/events.js +0 -44
  260. package/build/user-event/utils/events.js.map +0 -1
  261. package/experiments-app/.expo/packager-info.json +0 -9
  262. package/src/user-event/utils/events.ts +0 -54
@@ -0,0 +1,113 @@
1
+ {
2
+ "docusaurus-plugin-content-docs": {
3
+ "default": {
4
+ "path": "/react-native-testing-library/docs",
5
+ "versions": [
6
+ {
7
+ "name": "current",
8
+ "label": "Next",
9
+ "isLast": true,
10
+ "path": "/react-native-testing-library/docs",
11
+ "mainDocId": "getting-started",
12
+ "docs": [
13
+ {
14
+ "id": "api",
15
+ "path": "/react-native-testing-library/docs/api",
16
+ "sidebar": "docs"
17
+ },
18
+ {
19
+ "id": "api-queries",
20
+ "path": "/react-native-testing-library/docs/api-queries",
21
+ "sidebar": "docs"
22
+ },
23
+ {
24
+ "id": "eslint-plugin-testing-library",
25
+ "path": "/react-native-testing-library/docs/eslint-plugin-testing-library",
26
+ "sidebar": "docs"
27
+ },
28
+ {
29
+ "id": "faq",
30
+ "path": "/react-native-testing-library/docs/faq",
31
+ "sidebar": "docs"
32
+ },
33
+ {
34
+ "id": "getting-started",
35
+ "path": "/react-native-testing-library/docs/getting-started",
36
+ "sidebar": "docs"
37
+ },
38
+ {
39
+ "id": "how-should-i-query",
40
+ "path": "/react-native-testing-library/docs/how-should-i-query",
41
+ "sidebar": "docs"
42
+ },
43
+ {
44
+ "id": "migration-v11",
45
+ "path": "/react-native-testing-library/docs/migration-v11",
46
+ "sidebar": "docs"
47
+ },
48
+ {
49
+ "id": "migration-v12",
50
+ "path": "/react-native-testing-library/docs/migration-v12",
51
+ "sidebar": "docs"
52
+ },
53
+ {
54
+ "id": "migration-v2",
55
+ "path": "/react-native-testing-library/docs/migration-v2",
56
+ "sidebar": "docs"
57
+ },
58
+ {
59
+ "id": "migration-v7",
60
+ "path": "/react-native-testing-library/docs/migration-v7",
61
+ "sidebar": "docs"
62
+ },
63
+ {
64
+ "id": "migration-v9",
65
+ "path": "/react-native-testing-library/docs/migration-v9",
66
+ "sidebar": "docs"
67
+ },
68
+ {
69
+ "id": "react-navigation",
70
+ "path": "/react-native-testing-library/docs/react-navigation",
71
+ "sidebar": "docs"
72
+ },
73
+ {
74
+ "id": "redux-integration",
75
+ "path": "/react-native-testing-library/docs/redux-integration",
76
+ "sidebar": "docs"
77
+ },
78
+ {
79
+ "id": "testing-env",
80
+ "path": "/react-native-testing-library/docs/testing-env",
81
+ "sidebar": "docs"
82
+ },
83
+ {
84
+ "id": "troubleshooting",
85
+ "path": "/react-native-testing-library/docs/troubleshooting",
86
+ "sidebar": "docs"
87
+ },
88
+ {
89
+ "id": "understanding-act",
90
+ "path": "/react-native-testing-library/docs/understanding-act",
91
+ "sidebar": "docs"
92
+ },
93
+ {
94
+ "id": "user-event",
95
+ "path": "/react-native-testing-library/docs/user-event",
96
+ "sidebar": "docs"
97
+ }
98
+ ],
99
+ "draftIds": [],
100
+ "sidebars": {
101
+ "docs": {
102
+ "link": {
103
+ "path": "/react-native-testing-library/docs/getting-started",
104
+ "label": "getting-started"
105
+ }
106
+ }
107
+ }
108
+ }
109
+ ],
110
+ "breadcrumbs": true
111
+ }
112
+ }
113
+ }
@@ -0,0 +1,17 @@
1
+ {
2
+ "defaultLocale": "en",
3
+ "locales": [
4
+ "en"
5
+ ],
6
+ "path": "i18n",
7
+ "currentLocale": "en",
8
+ "localeConfigs": {
9
+ "en": {
10
+ "label": "English",
11
+ "direction": "ltr",
12
+ "htmlLang": "en",
13
+ "calendar": "gregory",
14
+ "path": "en"
15
+ }
16
+ }
17
+ }
@@ -0,0 +1,35 @@
1
+ export default {
2
+ '__comp---site-src-pages-index-jsc-4-f-f99': [() => import(/* webpackChunkName: '__comp---site-src-pages-index-jsc-4-f-f99' */ '@site/src/pages/index.js'), '@site/src/pages/index.js', require.resolveWeak('@site/src/pages/index.js')],
3
+ '__comp---theme-debug-config-23-a-2ff': [() => import(/* webpackChunkName: '__comp---theme-debug-config-23-a-2ff' */ '@theme/DebugConfig'), '@theme/DebugConfig', require.resolveWeak('@theme/DebugConfig')],
4
+ '__comp---theme-debug-contentba-8-ce7': [() => import(/* webpackChunkName: '__comp---theme-debug-contentba-8-ce7' */ '@theme/DebugContent'), '@theme/DebugContent', require.resolveWeak('@theme/DebugContent')],
5
+ '__comp---theme-debug-global-dataede-0fa': [() => import(/* webpackChunkName: '__comp---theme-debug-global-dataede-0fa' */ '@theme/DebugGlobalData'), '@theme/DebugGlobalData', require.resolveWeak('@theme/DebugGlobalData')],
6
+ '__comp---theme-debug-registry-679-501': [() => import(/* webpackChunkName: '__comp---theme-debug-registry-679-501' */ '@theme/DebugRegistry'), '@theme/DebugRegistry', require.resolveWeak('@theme/DebugRegistry')],
7
+ '__comp---theme-debug-routes-946-699': [() => import(/* webpackChunkName: '__comp---theme-debug-routes-946-699' */ '@theme/DebugRoutes'), '@theme/DebugRoutes', require.resolveWeak('@theme/DebugRoutes')],
8
+ '__comp---theme-debug-site-metadata-68-e-3d4': [() => import(/* webpackChunkName: '__comp---theme-debug-site-metadata-68-e-3d4' */ '@theme/DebugSiteMetadata'), '@theme/DebugSiteMetadata', require.resolveWeak('@theme/DebugSiteMetadata')],
9
+ '__comp---theme-doc-item-178-a40': [() => import(/* webpackChunkName: '__comp---theme-doc-item-178-a40' */ '@theme/DocItem'), '@theme/DocItem', require.resolveWeak('@theme/DocItem')],
10
+ '__comp---theme-doc-page-1-be-9be': [() => import(/* webpackChunkName: '__comp---theme-doc-page-1-be-9be' */ '@theme/DocPage'), '@theme/DocPage', require.resolveWeak('@theme/DocPage')],
11
+ '__comp---theme-search-page-1-a-4-d6f': [() => import(/* webpackChunkName: '__comp---theme-search-page-1-a-4-d6f' */ '@theme/SearchPage'), '@theme/SearchPage', require.resolveWeak('@theme/SearchPage')],
12
+ 'allContent---react-native-testing-library-docusaurus-debug-content-246-831': [() => import(/* webpackChunkName: 'allContent---react-native-testing-library-docusaurus-debug-content-246-831' */ '~debug/default/docusaurus-debug-all-content-673.json'), '~debug/default/docusaurus-debug-all-content-673.json', require.resolveWeak('~debug/default/docusaurus-debug-all-content-673.json')],
13
+ 'config---react-native-testing-library-5-e-9-076': [() => import(/* webpackChunkName: 'config---react-native-testing-library-5-e-9-076' */ '@generated/docusaurus.config'), '@generated/docusaurus.config', require.resolveWeak('@generated/docusaurus.config')],
14
+ 'content---react-native-testing-library-docs-api-queries-7-ad-9d7': [() => import(/* webpackChunkName: 'content---react-native-testing-library-docs-api-queries-7-ad-9d7' */ '@site/docs/Queries.md'), '@site/docs/Queries.md', require.resolveWeak('@site/docs/Queries.md')],
15
+ 'content---react-native-testing-library-docs-apic-82-f66': [() => import(/* webpackChunkName: 'content---react-native-testing-library-docs-apic-82-f66' */ '@site/docs/API.md'), '@site/docs/API.md', require.resolveWeak('@site/docs/API.md')],
16
+ 'content---react-native-testing-library-docs-eslint-plugin-testing-libraryd-24-5cd': [() => import(/* webpackChunkName: 'content---react-native-testing-library-docs-eslint-plugin-testing-libraryd-24-5cd' */ '@site/docs/EslintPLluginTestingLibrary.md'), '@site/docs/EslintPLluginTestingLibrary.md', require.resolveWeak('@site/docs/EslintPLluginTestingLibrary.md')],
17
+ 'content---react-native-testing-library-docs-faqad-8-1de': [() => import(/* webpackChunkName: 'content---react-native-testing-library-docs-faqad-8-1de' */ '@site/docs/FAQ.md'), '@site/docs/FAQ.md', require.resolveWeak('@site/docs/FAQ.md')],
18
+ 'content---react-native-testing-library-docs-getting-started-8-a-6-c75': [() => import(/* webpackChunkName: 'content---react-native-testing-library-docs-getting-started-8-a-6-c75' */ '@site/docs/GettingStarted.md'), '@site/docs/GettingStarted.md', require.resolveWeak('@site/docs/GettingStarted.md')],
19
+ 'content---react-native-testing-library-docs-how-should-i-queryf-2-d-6d5': [() => import(/* webpackChunkName: 'content---react-native-testing-library-docs-how-should-i-queryf-2-d-6d5' */ '@site/docs/HowShouldIQuery.md'), '@site/docs/HowShouldIQuery.md', require.resolveWeak('@site/docs/HowShouldIQuery.md')],
20
+ 'content---react-native-testing-library-docs-migration-v-11-add-e36': [() => import(/* webpackChunkName: 'content---react-native-testing-library-docs-migration-v-11-add-e36' */ '@site/docs/MigrationV11.md'), '@site/docs/MigrationV11.md', require.resolveWeak('@site/docs/MigrationV11.md')],
21
+ 'content---react-native-testing-library-docs-migration-v-1214-f-c06': [() => import(/* webpackChunkName: 'content---react-native-testing-library-docs-migration-v-1214-f-c06' */ '@site/docs/MigrationV12.md'), '@site/docs/MigrationV12.md', require.resolveWeak('@site/docs/MigrationV12.md')],
22
+ 'content---react-native-testing-library-docs-migration-v-2698-65c': [() => import(/* webpackChunkName: 'content---react-native-testing-library-docs-migration-v-2698-65c' */ '@site/docs/MigrationV2.md'), '@site/docs/MigrationV2.md', require.resolveWeak('@site/docs/MigrationV2.md')],
23
+ 'content---react-native-testing-library-docs-migration-v-76-bb-bf9': [() => import(/* webpackChunkName: 'content---react-native-testing-library-docs-migration-v-76-bb-bf9' */ '@site/docs/MigrationV7.md'), '@site/docs/MigrationV7.md', require.resolveWeak('@site/docs/MigrationV7.md')],
24
+ 'content---react-native-testing-library-docs-migration-v-9-f-69-a78': [() => import(/* webpackChunkName: 'content---react-native-testing-library-docs-migration-v-9-f-69-a78' */ '@site/docs/MigrationV9.md'), '@site/docs/MigrationV9.md', require.resolveWeak('@site/docs/MigrationV9.md')],
25
+ 'content---react-native-testing-library-docs-react-navigation-1-bd-732': [() => import(/* webpackChunkName: 'content---react-native-testing-library-docs-react-navigation-1-bd-732' */ '@site/docs/ReactNavigation.md'), '@site/docs/ReactNavigation.md', require.resolveWeak('@site/docs/ReactNavigation.md')],
26
+ 'content---react-native-testing-library-docs-redux-integration-77-b-ff4': [() => import(/* webpackChunkName: 'content---react-native-testing-library-docs-redux-integration-77-b-ff4' */ '@site/docs/ReduxIntegration.md'), '@site/docs/ReduxIntegration.md', require.resolveWeak('@site/docs/ReduxIntegration.md')],
27
+ 'content---react-native-testing-library-docs-testing-env-1-c-6-68f': [() => import(/* webpackChunkName: 'content---react-native-testing-library-docs-testing-env-1-c-6-68f' */ '@site/docs/TestingEnvironment.md'), '@site/docs/TestingEnvironment.md', require.resolveWeak('@site/docs/TestingEnvironment.md')],
28
+ 'content---react-native-testing-library-docs-troubleshooting-01-d-73c': [() => import(/* webpackChunkName: 'content---react-native-testing-library-docs-troubleshooting-01-d-73c' */ '@site/docs/Troubleshooting.md'), '@site/docs/Troubleshooting.md', require.resolveWeak('@site/docs/Troubleshooting.md')],
29
+ 'content---react-native-testing-library-docs-understanding-actaa-9-cfb': [() => import(/* webpackChunkName: 'content---react-native-testing-library-docs-understanding-actaa-9-cfb' */ '@site/docs/UnderstandingAct.md'), '@site/docs/UnderstandingAct.md', require.resolveWeak('@site/docs/UnderstandingAct.md')],
30
+ 'content---react-native-testing-library-docs-user-event-501-9d2': [() => import(/* webpackChunkName: 'content---react-native-testing-library-docs-user-event-501-9d2' */ '@site/docs/UserEvent.md'), '@site/docs/UserEvent.md', require.resolveWeak('@site/docs/UserEvent.md')],
31
+ 'plugin---react-native-testing-library-6-b-3-7bf': [() => import(/* webpackChunkName: 'plugin---react-native-testing-library-6-b-3-7bf' */ '/Users/maciej/Development/OpenSource/RNTL/website/.docusaurus/docusaurus-plugin-content-pages/default/plugin-route-context-module-100.json'), '/Users/maciej/Development/OpenSource/RNTL/website/.docusaurus/docusaurus-plugin-content-pages/default/plugin-route-context-module-100.json', require.resolveWeak('/Users/maciej/Development/OpenSource/RNTL/website/.docusaurus/docusaurus-plugin-content-pages/default/plugin-route-context-module-100.json')],
32
+ 'plugin---react-native-testing-library-docs-8-e-3-8cd': [() => import(/* webpackChunkName: 'plugin---react-native-testing-library-docs-8-e-3-8cd' */ '/Users/maciej/Development/OpenSource/RNTL/website/.docusaurus/docusaurus-plugin-content-docs/default/plugin-route-context-module-100.json'), '/Users/maciej/Development/OpenSource/RNTL/website/.docusaurus/docusaurus-plugin-content-docs/default/plugin-route-context-module-100.json', require.resolveWeak('/Users/maciej/Development/OpenSource/RNTL/website/.docusaurus/docusaurus-plugin-content-docs/default/plugin-route-context-module-100.json')],
33
+ 'plugin---react-native-testing-library-docusaurus-debug-3-d-1-966': [() => import(/* webpackChunkName: 'plugin---react-native-testing-library-docusaurus-debug-3-d-1-966' */ '/Users/maciej/Development/OpenSource/RNTL/website/.docusaurus/docusaurus-plugin-debug/default/plugin-route-context-module-100.json'), '/Users/maciej/Development/OpenSource/RNTL/website/.docusaurus/docusaurus-plugin-debug/default/plugin-route-context-module-100.json', require.resolveWeak('/Users/maciej/Development/OpenSource/RNTL/website/.docusaurus/docusaurus-plugin-debug/default/plugin-route-context-module-100.json')],
34
+ 'plugin---react-native-testing-library-searchbd-8-fd2': [() => import(/* webpackChunkName: 'plugin---react-native-testing-library-searchbd-8-fd2' */ '/Users/maciej/Development/OpenSource/RNTL/website/.docusaurus/docusaurus-theme-search-algolia/default/plugin-route-context-module-100.json'), '/Users/maciej/Development/OpenSource/RNTL/website/.docusaurus/docusaurus-theme-search-algolia/default/plugin-route-context-module-100.json', require.resolveWeak('/Users/maciej/Development/OpenSource/RNTL/website/.docusaurus/docusaurus-theme-search-algolia/default/plugin-route-context-module-100.json')],
35
+ 'versionMetadata---react-native-testing-library-docs-935-f8e': [() => import(/* webpackChunkName: 'versionMetadata---react-native-testing-library-docs-935-f8e' */ '~docs/default/version-current-metadata-prop-751.json'), '~docs/default/version-current-metadata-prop-751.json', require.resolveWeak('~docs/default/version-current-metadata-prop-751.json')],};
@@ -0,0 +1,162 @@
1
+ import React from 'react';
2
+ import ComponentCreator from '@docusaurus/ComponentCreator';
3
+
4
+ export default [
5
+ {
6
+ path: '/react-native-testing-library/__docusaurus/debug',
7
+ component: ComponentCreator('/react-native-testing-library/__docusaurus/debug', 'ba8'),
8
+ exact: true
9
+ },
10
+ {
11
+ path: '/react-native-testing-library/__docusaurus/debug/config',
12
+ component: ComponentCreator('/react-native-testing-library/__docusaurus/debug/config', '400'),
13
+ exact: true
14
+ },
15
+ {
16
+ path: '/react-native-testing-library/__docusaurus/debug/content',
17
+ component: ComponentCreator('/react-native-testing-library/__docusaurus/debug/content', 'db3'),
18
+ exact: true
19
+ },
20
+ {
21
+ path: '/react-native-testing-library/__docusaurus/debug/globalData',
22
+ component: ComponentCreator('/react-native-testing-library/__docusaurus/debug/globalData', 'ca0'),
23
+ exact: true
24
+ },
25
+ {
26
+ path: '/react-native-testing-library/__docusaurus/debug/metadata',
27
+ component: ComponentCreator('/react-native-testing-library/__docusaurus/debug/metadata', '681'),
28
+ exact: true
29
+ },
30
+ {
31
+ path: '/react-native-testing-library/__docusaurus/debug/registry',
32
+ component: ComponentCreator('/react-native-testing-library/__docusaurus/debug/registry', 'bd1'),
33
+ exact: true
34
+ },
35
+ {
36
+ path: '/react-native-testing-library/__docusaurus/debug/routes',
37
+ component: ComponentCreator('/react-native-testing-library/__docusaurus/debug/routes', '222'),
38
+ exact: true
39
+ },
40
+ {
41
+ path: '/react-native-testing-library/search',
42
+ component: ComponentCreator('/react-native-testing-library/search', '06d'),
43
+ exact: true
44
+ },
45
+ {
46
+ path: '/react-native-testing-library/docs',
47
+ component: ComponentCreator('/react-native-testing-library/docs', '71b'),
48
+ routes: [
49
+ {
50
+ path: '/react-native-testing-library/docs/api',
51
+ component: ComponentCreator('/react-native-testing-library/docs/api', '850'),
52
+ exact: true,
53
+ sidebar: "docs"
54
+ },
55
+ {
56
+ path: '/react-native-testing-library/docs/api-queries',
57
+ component: ComponentCreator('/react-native-testing-library/docs/api-queries', 'b40'),
58
+ exact: true,
59
+ sidebar: "docs"
60
+ },
61
+ {
62
+ path: '/react-native-testing-library/docs/eslint-plugin-testing-library',
63
+ component: ComponentCreator('/react-native-testing-library/docs/eslint-plugin-testing-library', 'c53'),
64
+ exact: true,
65
+ sidebar: "docs"
66
+ },
67
+ {
68
+ path: '/react-native-testing-library/docs/faq',
69
+ component: ComponentCreator('/react-native-testing-library/docs/faq', '9eb'),
70
+ exact: true,
71
+ sidebar: "docs"
72
+ },
73
+ {
74
+ path: '/react-native-testing-library/docs/getting-started',
75
+ component: ComponentCreator('/react-native-testing-library/docs/getting-started', '737'),
76
+ exact: true,
77
+ sidebar: "docs"
78
+ },
79
+ {
80
+ path: '/react-native-testing-library/docs/how-should-i-query',
81
+ component: ComponentCreator('/react-native-testing-library/docs/how-should-i-query', 'c42'),
82
+ exact: true,
83
+ sidebar: "docs"
84
+ },
85
+ {
86
+ path: '/react-native-testing-library/docs/migration-v11',
87
+ component: ComponentCreator('/react-native-testing-library/docs/migration-v11', 'd62'),
88
+ exact: true,
89
+ sidebar: "docs"
90
+ },
91
+ {
92
+ path: '/react-native-testing-library/docs/migration-v12',
93
+ component: ComponentCreator('/react-native-testing-library/docs/migration-v12', '429'),
94
+ exact: true,
95
+ sidebar: "docs"
96
+ },
97
+ {
98
+ path: '/react-native-testing-library/docs/migration-v2',
99
+ component: ComponentCreator('/react-native-testing-library/docs/migration-v2', '34b'),
100
+ exact: true,
101
+ sidebar: "docs"
102
+ },
103
+ {
104
+ path: '/react-native-testing-library/docs/migration-v7',
105
+ component: ComponentCreator('/react-native-testing-library/docs/migration-v7', 'e84'),
106
+ exact: true,
107
+ sidebar: "docs"
108
+ },
109
+ {
110
+ path: '/react-native-testing-library/docs/migration-v9',
111
+ component: ComponentCreator('/react-native-testing-library/docs/migration-v9', 'f5d'),
112
+ exact: true,
113
+ sidebar: "docs"
114
+ },
115
+ {
116
+ path: '/react-native-testing-library/docs/react-navigation',
117
+ component: ComponentCreator('/react-native-testing-library/docs/react-navigation', 'ab2'),
118
+ exact: true,
119
+ sidebar: "docs"
120
+ },
121
+ {
122
+ path: '/react-native-testing-library/docs/redux-integration',
123
+ component: ComponentCreator('/react-native-testing-library/docs/redux-integration', '80a'),
124
+ exact: true,
125
+ sidebar: "docs"
126
+ },
127
+ {
128
+ path: '/react-native-testing-library/docs/testing-env',
129
+ component: ComponentCreator('/react-native-testing-library/docs/testing-env', 'b84'),
130
+ exact: true,
131
+ sidebar: "docs"
132
+ },
133
+ {
134
+ path: '/react-native-testing-library/docs/troubleshooting',
135
+ component: ComponentCreator('/react-native-testing-library/docs/troubleshooting', '7a5'),
136
+ exact: true,
137
+ sidebar: "docs"
138
+ },
139
+ {
140
+ path: '/react-native-testing-library/docs/understanding-act',
141
+ component: ComponentCreator('/react-native-testing-library/docs/understanding-act', 'cad'),
142
+ exact: true,
143
+ sidebar: "docs"
144
+ },
145
+ {
146
+ path: '/react-native-testing-library/docs/user-event',
147
+ component: ComponentCreator('/react-native-testing-library/docs/user-event', '646'),
148
+ exact: true,
149
+ sidebar: "docs"
150
+ }
151
+ ]
152
+ },
153
+ {
154
+ path: '/react-native-testing-library/',
155
+ component: ComponentCreator('/react-native-testing-library/', 'd6e'),
156
+ exact: true
157
+ },
158
+ {
159
+ path: '*',
160
+ component: ComponentCreator('*'),
161
+ },
162
+ ];
@@ -0,0 +1,133 @@
1
+ {
2
+ "/react-native-testing-library/__docusaurus/debug-ba8": {
3
+ "__comp": "__comp---theme-debug-config-23-a-2ff",
4
+ "__context": {
5
+ "plugin": "plugin---react-native-testing-library-docusaurus-debug-3-d-1-966"
6
+ }
7
+ },
8
+ "/react-native-testing-library/__docusaurus/debug/config-400": {
9
+ "__comp": "__comp---theme-debug-config-23-a-2ff",
10
+ "__context": {
11
+ "plugin": "plugin---react-native-testing-library-docusaurus-debug-3-d-1-966"
12
+ }
13
+ },
14
+ "/react-native-testing-library/__docusaurus/debug/content-db3": {
15
+ "__comp": "__comp---theme-debug-contentba-8-ce7",
16
+ "__context": {
17
+ "plugin": "plugin---react-native-testing-library-docusaurus-debug-3-d-1-966"
18
+ },
19
+ "allContent": "allContent---react-native-testing-library-docusaurus-debug-content-246-831"
20
+ },
21
+ "/react-native-testing-library/__docusaurus/debug/globalData-ca0": {
22
+ "__comp": "__comp---theme-debug-global-dataede-0fa",
23
+ "__context": {
24
+ "plugin": "plugin---react-native-testing-library-docusaurus-debug-3-d-1-966"
25
+ }
26
+ },
27
+ "/react-native-testing-library/__docusaurus/debug/metadata-681": {
28
+ "__comp": "__comp---theme-debug-site-metadata-68-e-3d4",
29
+ "__context": {
30
+ "plugin": "plugin---react-native-testing-library-docusaurus-debug-3-d-1-966"
31
+ }
32
+ },
33
+ "/react-native-testing-library/__docusaurus/debug/registry-bd1": {
34
+ "__comp": "__comp---theme-debug-registry-679-501",
35
+ "__context": {
36
+ "plugin": "plugin---react-native-testing-library-docusaurus-debug-3-d-1-966"
37
+ }
38
+ },
39
+ "/react-native-testing-library/__docusaurus/debug/routes-222": {
40
+ "__comp": "__comp---theme-debug-routes-946-699",
41
+ "__context": {
42
+ "plugin": "plugin---react-native-testing-library-docusaurus-debug-3-d-1-966"
43
+ }
44
+ },
45
+ "/react-native-testing-library/search-06d": {
46
+ "__comp": "__comp---theme-search-page-1-a-4-d6f",
47
+ "__context": {
48
+ "plugin": "plugin---react-native-testing-library-searchbd-8-fd2"
49
+ }
50
+ },
51
+ "/react-native-testing-library/docs-71b": {
52
+ "__comp": "__comp---theme-doc-page-1-be-9be",
53
+ "__context": {
54
+ "plugin": "plugin---react-native-testing-library-docs-8-e-3-8cd"
55
+ },
56
+ "versionMetadata": "versionMetadata---react-native-testing-library-docs-935-f8e"
57
+ },
58
+ "/react-native-testing-library/docs/api-850": {
59
+ "__comp": "__comp---theme-doc-item-178-a40",
60
+ "content": "content---react-native-testing-library-docs-apic-82-f66"
61
+ },
62
+ "/react-native-testing-library/docs/api-queries-b40": {
63
+ "__comp": "__comp---theme-doc-item-178-a40",
64
+ "content": "content---react-native-testing-library-docs-api-queries-7-ad-9d7"
65
+ },
66
+ "/react-native-testing-library/docs/eslint-plugin-testing-library-c53": {
67
+ "__comp": "__comp---theme-doc-item-178-a40",
68
+ "content": "content---react-native-testing-library-docs-eslint-plugin-testing-libraryd-24-5cd"
69
+ },
70
+ "/react-native-testing-library/docs/faq-9eb": {
71
+ "__comp": "__comp---theme-doc-item-178-a40",
72
+ "content": "content---react-native-testing-library-docs-faqad-8-1de"
73
+ },
74
+ "/react-native-testing-library/docs/getting-started-737": {
75
+ "__comp": "__comp---theme-doc-item-178-a40",
76
+ "content": "content---react-native-testing-library-docs-getting-started-8-a-6-c75"
77
+ },
78
+ "/react-native-testing-library/docs/how-should-i-query-c42": {
79
+ "__comp": "__comp---theme-doc-item-178-a40",
80
+ "content": "content---react-native-testing-library-docs-how-should-i-queryf-2-d-6d5"
81
+ },
82
+ "/react-native-testing-library/docs/migration-v11-d62": {
83
+ "__comp": "__comp---theme-doc-item-178-a40",
84
+ "content": "content---react-native-testing-library-docs-migration-v-11-add-e36"
85
+ },
86
+ "/react-native-testing-library/docs/migration-v12-429": {
87
+ "__comp": "__comp---theme-doc-item-178-a40",
88
+ "content": "content---react-native-testing-library-docs-migration-v-1214-f-c06"
89
+ },
90
+ "/react-native-testing-library/docs/migration-v2-34b": {
91
+ "__comp": "__comp---theme-doc-item-178-a40",
92
+ "content": "content---react-native-testing-library-docs-migration-v-2698-65c"
93
+ },
94
+ "/react-native-testing-library/docs/migration-v7-e84": {
95
+ "__comp": "__comp---theme-doc-item-178-a40",
96
+ "content": "content---react-native-testing-library-docs-migration-v-76-bb-bf9"
97
+ },
98
+ "/react-native-testing-library/docs/migration-v9-f5d": {
99
+ "__comp": "__comp---theme-doc-item-178-a40",
100
+ "content": "content---react-native-testing-library-docs-migration-v-9-f-69-a78"
101
+ },
102
+ "/react-native-testing-library/docs/react-navigation-ab2": {
103
+ "__comp": "__comp---theme-doc-item-178-a40",
104
+ "content": "content---react-native-testing-library-docs-react-navigation-1-bd-732"
105
+ },
106
+ "/react-native-testing-library/docs/redux-integration-80a": {
107
+ "__comp": "__comp---theme-doc-item-178-a40",
108
+ "content": "content---react-native-testing-library-docs-redux-integration-77-b-ff4"
109
+ },
110
+ "/react-native-testing-library/docs/testing-env-b84": {
111
+ "__comp": "__comp---theme-doc-item-178-a40",
112
+ "content": "content---react-native-testing-library-docs-testing-env-1-c-6-68f"
113
+ },
114
+ "/react-native-testing-library/docs/troubleshooting-7a5": {
115
+ "__comp": "__comp---theme-doc-item-178-a40",
116
+ "content": "content---react-native-testing-library-docs-troubleshooting-01-d-73c"
117
+ },
118
+ "/react-native-testing-library/docs/understanding-act-cad": {
119
+ "__comp": "__comp---theme-doc-item-178-a40",
120
+ "content": "content---react-native-testing-library-docs-understanding-actaa-9-cfb"
121
+ },
122
+ "/react-native-testing-library/docs/user-event-646": {
123
+ "__comp": "__comp---theme-doc-item-178-a40",
124
+ "content": "content---react-native-testing-library-docs-user-event-501-9d2"
125
+ },
126
+ "/react-native-testing-library/-d6e": {
127
+ "__comp": "__comp---site-src-pages-index-jsc-4-f-f99",
128
+ "__context": {
129
+ "plugin": "plugin---react-native-testing-library-6-b-3-7bf"
130
+ },
131
+ "config": "config---react-native-testing-library-5-e-9-076"
132
+ }
133
+ }
@@ -0,0 +1,36 @@
1
+ {
2
+ "docusaurusVersion": "2.3.1",
3
+ "siteVersion": "0.0.0",
4
+ "pluginVersions": {
5
+ "docusaurus-plugin-content-docs": {
6
+ "type": "package",
7
+ "name": "@docusaurus/plugin-content-docs",
8
+ "version": "2.3.1"
9
+ },
10
+ "docusaurus-plugin-content-blog": {
11
+ "type": "package",
12
+ "name": "@docusaurus/plugin-content-blog",
13
+ "version": "2.3.1"
14
+ },
15
+ "docusaurus-plugin-content-pages": {
16
+ "type": "package",
17
+ "name": "@docusaurus/plugin-content-pages",
18
+ "version": "2.3.1"
19
+ },
20
+ "docusaurus-plugin-debug": {
21
+ "type": "package",
22
+ "name": "@docusaurus/plugin-debug",
23
+ "version": "2.3.1"
24
+ },
25
+ "docusaurus-theme-classic": {
26
+ "type": "package",
27
+ "name": "@docusaurus/theme-classic",
28
+ "version": "2.3.1"
29
+ },
30
+ "docusaurus-theme-search-algolia": {
31
+ "type": "package",
32
+ "name": "@docusaurus/theme-search-algolia",
33
+ "version": "2.3.1"
34
+ }
35
+ }
36
+ }
@@ -7,20 +7,13 @@ title: API
7
7
 
8
8
  - [`render`](#render)
9
9
  - [`render` options](#render-options)
10
- - [`wrapper` option](#wrapper-option)
11
- - [`createNodeMock` option](#createnodemock-option)
12
- - [`unstable_validateStringsRenderedWithinText` option](#unstable_validatestringsrenderedwithintext-option)
13
10
  - [`...queries`](#queries)
14
- - [Example](#example)
15
11
  - [`update`](#update)
16
12
  - [`unmount`](#unmount)
17
13
  - [`debug`](#debug)
18
- - [`message` option](#message-option)
19
- - [`mapProps` option](#mapprops-option)
20
- - [`debug.shallow`](#debugshallow)
21
14
  - [`toJSON`](#tojson)
22
15
  - [`root`](#root)
23
- - [`UNSAFE_root`](#unsafe_root)
16
+ - [`UNSAFE_root`](#unsaferoot)
24
17
  - [`screen`](#screen)
25
18
  - [`cleanup`](#cleanup)
26
19
  - [`fireEvent`](#fireevent)
@@ -28,10 +21,8 @@ title: API
28
21
  - [`fireEvent.press`](#fireeventpress)
29
22
  - [`fireEvent.changeText`](#fireeventchangetext)
30
23
  - [`fireEvent.scroll`](#fireeventscroll)
31
- - [On a `ScrollView`](#on-a-scrollview)
32
- - [On a `FlatList`](#on-a-flatlist)
33
24
  - [`waitFor`](#waitfor)
34
- - [Using Jest fake timers](#using-jest-fake-timers)
25
+ - [Using a React Native version \< 0.71 with Jest fake timers](#using-a-react-native-version--071-with-jest-fake-timers)
35
26
  - [`waitForElementToBeRemoved`](#waitforelementtoberemoved)
36
27
  - [`within`, `getQueriesForElement`](#within-getqueriesforelement)
37
28
  - [`queryBy*` APIs](#queryby-apis)
@@ -40,24 +31,12 @@ title: API
40
31
  - [`renderHook`](#renderhook)
41
32
  - [`callback`](#callback)
42
33
  - [`options` (Optional)](#options-optional)
43
- - [`initialProps`](#initialprops)
44
- - [`wrapper`](#wrapper)
45
34
  - [`RenderHookResult` object](#renderhookresult-object)
46
- - [`result`](#result)
47
- - [`rerender`](#rerender)
48
- - [`unmount`](#unmount-1)
49
35
  - [Examples](#examples)
50
- - [With `initialProps`](#with-initialprops)
51
- - [With `wrapper`](#with-wrapper)
52
36
  - [Configuration](#configuration)
53
37
  - [`configure`](#configure)
54
- - [`asyncUtilTimeout` option](#asyncutiltimeout-option)
55
- - [`defaultIncludeHiddenElements` option](#defaultincludehiddenelements-option)
56
- - [`defaultDebugOptions` option](#defaultdebugoptions-option)
57
38
  - [`resetToDefaults()`](#resettodefaults)
58
39
  - [Environment variables](#environment-variables)
59
- - [`RNTL_SKIP_AUTO_CLEANUP`](#rntl_skip_auto_cleanup)
60
- - [`RNTL_SKIP_AUTO_DETECT_FAKE_TIMERS`](#rntl_skip_auto_detect_fake_timers)
61
40
  - [Accessibility](#accessibility)
62
41
  - [`isHiddenFromAccessibility`](#ishiddenfromaccessibility)
63
42
 
@@ -346,9 +325,16 @@ function fireEvent(
346
325
  ): void {}
347
326
  ```
348
327
 
349
- Fires native-like event with data.
328
+ :::note
329
+ For common events like `press` or `type` it's recommended to use [User Event API](UserEvent.md) as it offers
330
+ more realistic event simulation by emitting a sequence of events with proper event objects that mimic React Native runtime behavior.
331
+
332
+ Use Fire Event for cases not supported by User Event and for triggering event handlers on composite components.
333
+ :::
350
334
 
351
- Invokes a given event handler (whether native or custom) on the element, bubbling to the root of the rendered tree.
335
+ `fireEvent` API allows you to trigger all kind of event handlers on both host and composite components. It will try to invoke a single event handler traversing the component tree bottom-up from passed element and trying to find enabled event handler named `onXxx` when `xxx` is the name of the event passed.
336
+
337
+ Unlike User Event, this API does not automatically pass event object to event handler, this is responsibility of the user to construct such object.
352
338
 
353
339
  ```jsx
354
340
  import { render, screen, fireEvent } from '@testing-library/react-native';
@@ -402,6 +388,10 @@ Convenience methods for common events like: `press`, `changeText`, `scroll`.
402
388
  fireEvent.press: (element: ReactTestInstance, ...data: Array<any>) => void
403
389
  ```
404
390
 
391
+ :::note
392
+ It is recommended to use the User Event [`press()`](UserEvent.md#press) helper instead as it offers more realistic simulation of press interaction, including pressable support.
393
+ :::
394
+
405
395
  Invokes `press` event handler on the element or parent element in the tree.
406
396
 
407
397
  ```jsx
@@ -434,6 +424,10 @@ expect(onPressMock).toHaveBeenCalledWith(eventData);
434
424
  fireEvent.changeText: (element: ReactTestInstance, ...data: Array<any>) => void
435
425
  ```
436
426
 
427
+ :::note
428
+ It is recommended to use the User Event [`type()`](UserEvent.md#type) helper instead as it offers more realistic simulation of text change interaction, including key-by-key typing, element focus, and other editing events.
429
+ :::
430
+
437
431
  Invokes `changeText` event handler on the element or parent element in the tree.
438
432
 
439
433
  ```jsx