@testing-library/react-native 12.2.1 → 12.3.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 (395) hide show
  1. package/build/config.d.ts +1 -0
  2. package/build/config.js.map +1 -1
  3. package/build/fireEvent.js +2 -1
  4. package/build/fireEvent.js.map +1 -1
  5. package/build/helpers/accessiblity.d.ts +7 -0
  6. package/build/helpers/accessiblity.js +73 -2
  7. package/build/helpers/accessiblity.js.map +1 -1
  8. package/build/helpers/component-tree.d.ts +7 -0
  9. package/build/helpers/component-tree.js +18 -0
  10. package/build/helpers/component-tree.js.map +1 -1
  11. package/build/helpers/format-default.d.ts +1 -2
  12. package/build/helpers/format-default.js +22 -13
  13. package/build/helpers/format-default.js.map +1 -1
  14. package/build/helpers/format.js +1 -4
  15. package/build/helpers/format.js.map +1 -1
  16. package/build/helpers/host-component-names.d.ts +5 -0
  17. package/build/helpers/host-component-names.js +13 -1
  18. package/build/helpers/host-component-names.js.map +1 -1
  19. package/build/helpers/matchers/accessibilityState.js +3 -3
  20. package/build/helpers/matchers/accessibilityState.js.map +1 -1
  21. package/build/helpers/matchers/accessibilityValue.js +3 -2
  22. package/build/helpers/matchers/accessibilityValue.js.map +1 -1
  23. package/build/helpers/matchers/matchLabelText.d.ts +1 -1
  24. package/build/helpers/matchers/matchLabelText.js +5 -8
  25. package/build/helpers/matchers/matchLabelText.js.map +1 -1
  26. package/build/helpers/matchers/matchTextContent.js +2 -2
  27. package/build/helpers/matchers/matchTextContent.js.map +1 -1
  28. package/build/helpers/{getTextContent.js → text-content.js} +1 -1
  29. package/build/helpers/text-content.js.map +1 -0
  30. package/build/helpers/text-input.d.ts +3 -0
  31. package/build/helpers/text-input.js +21 -0
  32. package/build/helpers/text-input.js.map +1 -0
  33. package/build/matchers/extend-expect.d.js +2 -0
  34. package/build/matchers/extend-expect.d.js.map +1 -0
  35. package/build/matchers/extend-expect.d.ts +2 -0
  36. package/build/matchers/extend-expect.js +26 -0
  37. package/build/matchers/extend-expect.js.map +1 -0
  38. package/build/matchers/index.d.ts +9 -0
  39. package/build/matchers/index.js +75 -0
  40. package/build/matchers/index.js.map +1 -0
  41. package/build/matchers/to-be-checked.d.ts +6 -0
  42. package/build/matchers/to-be-checked.js +31 -0
  43. package/build/matchers/to-be-checked.js.map +1 -0
  44. package/build/matchers/to-be-disabled.d.ts +10 -0
  45. package/build/matchers/to-be-disabled.js +52 -0
  46. package/build/matchers/to-be-disabled.js.map +1 -0
  47. package/build/matchers/to-be-empty-element.d.ts +6 -0
  48. package/build/matchers/to-be-empty-element.js +20 -0
  49. package/build/matchers/to-be-empty-element.js.map +1 -0
  50. package/build/matchers/to-be-on-the-screen.d.ts +6 -0
  51. package/build/matchers/to-be-on-the-screen.js +29 -0
  52. package/build/matchers/to-be-on-the-screen.js.map +1 -0
  53. package/build/matchers/to-be-partially-checked.d.ts +6 -0
  54. package/build/matchers/to-be-partially-checked.js +28 -0
  55. package/build/matchers/to-be-partially-checked.js.map +1 -0
  56. package/build/matchers/to-be-visible.d.ts +6 -0
  57. package/build/matchers/to-be-visible.js +56 -0
  58. package/build/matchers/to-be-visible.js.map +1 -0
  59. package/build/matchers/to-have-display-value.d.ts +7 -0
  60. package/build/matchers/to-have-display-value.js +26 -0
  61. package/build/matchers/to-have-display-value.js.map +1 -0
  62. package/build/matchers/to-have-prop.d.ts +6 -0
  63. package/build/matchers/to-have-prop.js +35 -0
  64. package/build/matchers/to-have-prop.js.map +1 -0
  65. package/build/matchers/to-have-text-content.d.ts +7 -0
  66. package/build/matchers/to-have-text-content.js +21 -0
  67. package/build/matchers/to-have-text-content.js.map +1 -0
  68. package/build/matchers/utils.d.ts +18 -0
  69. package/build/matchers/utils.js +90 -0
  70. package/build/matchers/utils.js.map +1 -0
  71. package/build/matches.d.ts +1 -1
  72. package/build/matches.js.map +1 -1
  73. package/build/queries/displayValue.js +4 -3
  74. package/build/queries/displayValue.js.map +1 -1
  75. package/build/queries/labelText.js +2 -2
  76. package/build/queries/labelText.js.map +1 -1
  77. package/build/queries/role.js +1 -1
  78. package/build/queries/role.js.map +1 -1
  79. package/build/render.d.ts +12 -48
  80. package/build/user-event/clear.js +2 -1
  81. package/build/user-event/clear.js.map +1 -1
  82. package/build/user-event/press/press.js +2 -1
  83. package/build/user-event/press/press.js.map +1 -1
  84. package/build/user-event/type/type.js +2 -1
  85. package/build/user-event/type/type.js.map +1 -1
  86. package/build/user-event/utils/index.d.ts +0 -1
  87. package/build/user-event/utils/index.js +0 -11
  88. package/build/user-event/utils/index.js.map +1 -1
  89. package/package.json +6 -23
  90. package/.DS_Store +0 -0
  91. package/.codecov.yml +0 -9
  92. package/.eslintcache +0 -1
  93. package/.eslintignore +0 -3
  94. package/.eslintrc +0 -19
  95. package/.flowconfig +0 -63
  96. package/.github/ISSUE_TEMPLATE/bug_report.md +0 -38
  97. package/.github/ISSUE_TEMPLATE/feature_request.md +0 -14
  98. package/.github/ISSUE_TEMPLATE/question.md +0 -9
  99. package/.github/PULL_REQUEST_TEMPLATE.md +0 -10
  100. package/.github/actions/setup-deps/action.yml +0 -22
  101. package/.github/actions/setup-website-deps/action.yml +0 -22
  102. package/.github/dependabot.yml +0 -10
  103. package/.github/workflows/deploy-website.yml +0 -36
  104. package/.github/workflows/example-apps.yml +0 -25
  105. package/.github/workflows/main.yml +0 -103
  106. package/.gitignore +0 -11
  107. package/.prettierrc.js +0 -5
  108. package/CODE_OF_CONDUCT.md +0 -73
  109. package/CONTRIBUTING.md +0 -64
  110. package/babel.config.js +0 -22
  111. package/build/helpers/getTextContent.js.map +0 -1
  112. package/build/user-event/utils/host-components.d.ts +0 -2
  113. package/build/user-event/utils/host-components.js +0 -11
  114. package/build/user-event/utils/host-components.js.map +0 -1
  115. package/examples/basic/.expo/README.md +0 -15
  116. package/examples/basic/.expo/packager-info.json +0 -4
  117. package/examples/basic/.expo/settings.json +0 -10
  118. package/examples/basic/.expo-shared/assets.json +0 -4
  119. package/examples/basic/.gitignore +0 -14
  120. package/examples/basic/App.tsx +0 -20
  121. package/examples/basic/README.md +0 -11
  122. package/examples/basic/__tests__/App.test.tsx +0 -137
  123. package/examples/basic/app.json +0 -31
  124. package/examples/basic/assets/adaptive-icon.png +0 -0
  125. package/examples/basic/assets/favicon.png +0 -0
  126. package/examples/basic/assets/icon.png +0 -0
  127. package/examples/basic/assets/splash.png +0 -0
  128. package/examples/basic/babel.config.js +0 -6
  129. package/examples/basic/components/Home.tsx +0 -28
  130. package/examples/basic/components/LoginForm.tsx +0 -138
  131. package/examples/basic/jest-setup.ts +0 -7
  132. package/examples/basic/jest.config.js +0 -5
  133. package/examples/basic/package.json +0 -30
  134. package/examples/basic/tsconfig.json +0 -7
  135. package/examples/basic/yarn.lock +0 -7499
  136. package/examples/react-navigation/README.md +0 -16
  137. package/examples/react-navigation/babel.config.js +0 -4
  138. package/examples/react-navigation/jest-setup.js +0 -11
  139. package/examples/react-navigation/jest.config.js +0 -10
  140. package/examples/react-navigation/package.json +0 -31
  141. package/examples/react-navigation/src/App.js +0 -21
  142. package/examples/react-navigation/src/DrawerNavigator.js +0 -15
  143. package/examples/react-navigation/src/DrawerNavigator.test.js +0 -42
  144. package/examples/react-navigation/src/NativeStackNavigator.js +0 -15
  145. package/examples/react-navigation/src/NativeStackNavigator.test.js +0 -34
  146. package/examples/react-navigation/src/StackNavigator.js +0 -15
  147. package/examples/react-navigation/src/StackNavigator.test.js +0 -34
  148. package/examples/react-navigation/src/TabNavigator.js +0 -15
  149. package/examples/react-navigation/src/TabNavigator.test.js +0 -21
  150. package/examples/react-navigation/src/screens/DetailsScreen.js +0 -43
  151. package/examples/react-navigation/src/screens/DetailsScreen.test.js +0 -27
  152. package/examples/react-navigation/src/screens/DrawerHomeScreen.js +0 -26
  153. package/examples/react-navigation/src/screens/HomeScreen.js +0 -48
  154. package/examples/react-navigation/src/screens/SettingsScreen.js +0 -20
  155. package/examples/react-navigation/src/test-utils.js +0 -12
  156. package/examples/react-navigation/yarn.lock +0 -5018
  157. package/examples/redux/App.js +0 -27
  158. package/examples/redux/README.md +0 -5
  159. package/examples/redux/actions/todoActions.js +0 -25
  160. package/examples/redux/babel.config.js +0 -6
  161. package/examples/redux/components/AddTodo.js +0 -73
  162. package/examples/redux/components/AddTodo.test.js +0 -27
  163. package/examples/redux/components/TodoElem.js +0 -25
  164. package/examples/redux/components/TodoList.js +0 -29
  165. package/examples/redux/components/TodoList.test.js +0 -34
  166. package/examples/redux/index.js +0 -8
  167. package/examples/redux/jest-setup.js +0 -2
  168. package/examples/redux/jest.config.js +0 -4
  169. package/examples/redux/package.json +0 -23
  170. package/examples/redux/reducers/index.js +0 -6
  171. package/examples/redux/reducers/todoReducer.js +0 -27
  172. package/examples/redux/store.js +0 -10
  173. package/examples/redux/test-utils.js +0 -11
  174. package/examples/redux/yarn.lock +0 -4819
  175. package/experiments-app/.expo/README.md +0 -15
  176. package/experiments-app/.expo/devices.json +0 -3
  177. package/experiments-app/.expo/packager-info.json +0 -9
  178. package/experiments-app/.expo/settings.json +0 -9
  179. package/experiments-app/.gitignore +0 -17
  180. package/experiments-app/.prettierrc.js +0 -5
  181. package/experiments-app/app.json +0 -30
  182. package/experiments-app/assets/adaptive-icon.png +0 -0
  183. package/experiments-app/assets/favicon.png +0 -0
  184. package/experiments-app/assets/icon.png +0 -0
  185. package/experiments-app/assets/splash.png +0 -0
  186. package/experiments-app/babel.config.js +0 -6
  187. package/experiments-app/index.js +0 -4
  188. package/experiments-app/package.json +0 -29
  189. package/experiments-app/src/App.tsx +0 -31
  190. package/experiments-app/src/MainScreen.tsx +0 -52
  191. package/experiments-app/src/experiments.ts +0 -35
  192. package/experiments-app/src/screens/FlatListEvents.tsx +0 -57
  193. package/experiments-app/src/screens/ScrollViewEvents.tsx +0 -65
  194. package/experiments-app/src/screens/SectionListEvents.tsx +0 -91
  195. package/experiments-app/src/screens/TextInputEventPropagation.tsx +0 -42
  196. package/experiments-app/src/screens/TextInputEvents.tsx +0 -48
  197. package/experiments-app/src/utils/helpers.ts +0 -18
  198. package/experiments-app/tsconfig.json +0 -6
  199. package/experiments-app/yarn.lock +0 -6709
  200. package/experiments-rtl/.babelrc +0 -8
  201. package/experiments-rtl/.eslintrc.json +0 -3
  202. package/experiments-rtl/.gitignore +0 -35
  203. package/experiments-rtl/README.md +0 -34
  204. package/experiments-rtl/jest-setup.js +0 -1
  205. package/experiments-rtl/jest.config.js +0 -4
  206. package/experiments-rtl/next.config.js +0 -4
  207. package/experiments-rtl/package.json +0 -38
  208. package/experiments-rtl/postcss.config.js +0 -6
  209. package/experiments-rtl/public/next.svg +0 -1
  210. package/experiments-rtl/public/vercel.svg +0 -1
  211. package/experiments-rtl/src/app/__tests__/click.test.tsx +0 -31
  212. package/experiments-rtl/src/app/__tests__/managed-text-input.test.tsx +0 -51
  213. package/experiments-rtl/src/app/globals.css +0 -27
  214. package/experiments-rtl/src/app/layout.tsx +0 -22
  215. package/experiments-rtl/src/app/page.tsx +0 -113
  216. package/experiments-rtl/tailwind.config.ts +0 -20
  217. package/experiments-rtl/tsconfig.json +0 -28
  218. package/experiments-rtl/yarn.lock +0 -5418
  219. package/flow-typed/npm/jest_v26.x.x.js +0 -1218
  220. package/flow-typed/npm/react-test-renderer_v16.x.x.js +0 -81
  221. package/jest-setup.ts +0 -10
  222. package/renovate.json +0 -19
  223. package/scripts/test_react_17 +0 -12
  224. package/src/__tests__/__snapshots__/render-debug.test.tsx.snap +0 -548
  225. package/src/__tests__/__snapshots__/render.test.tsx.snap +0 -39
  226. package/src/__tests__/act.test.tsx +0 -56
  227. package/src/__tests__/auto-cleanup-skip.test.tsx +0 -39
  228. package/src/__tests__/auto-cleanup.test.tsx +0 -50
  229. package/src/__tests__/cleanup.test.tsx +0 -26
  230. package/src/__tests__/config.test.ts +0 -55
  231. package/src/__tests__/fireEvent-textInput.test.tsx +0 -154
  232. package/src/__tests__/fireEvent.test.tsx +0 -485
  233. package/src/__tests__/host-component-names.test.tsx +0 -109
  234. package/src/__tests__/host-text-nesting.test.tsx +0 -90
  235. package/src/__tests__/jest-native.test.tsx +0 -84
  236. package/src/__tests__/questionsBoard.test.tsx +0 -62
  237. package/src/__tests__/react-native-api.test.tsx +0 -126
  238. package/src/__tests__/render-debug.test.tsx +0 -207
  239. package/src/__tests__/render-stringValidation.test.tsx +0 -157
  240. package/src/__tests__/render.test.tsx +0 -256
  241. package/src/__tests__/renderHook.test.tsx +0 -114
  242. package/src/__tests__/screen.test.tsx +0 -66
  243. package/src/__tests__/timerUtils.ts +0 -7
  244. package/src/__tests__/timers.test.ts +0 -27
  245. package/src/__tests__/waitFor.test.tsx +0 -327
  246. package/src/__tests__/waitForElementToBeRemoved.test.tsx +0 -151
  247. package/src/__tests__/within.test.tsx +0 -96
  248. package/src/act.ts +0 -86
  249. package/src/cleanup.ts +0 -15
  250. package/src/config.ts +0 -72
  251. package/src/fireEvent.ts +0 -159
  252. package/src/flush-micro-tasks.ts +0 -30
  253. package/src/helpers/__tests__/accessiblity.test.tsx +0 -373
  254. package/src/helpers/__tests__/component-tree.test.tsx +0 -226
  255. package/src/helpers/__tests__/format-default.tsx +0 -114
  256. package/src/helpers/__tests__/getTextContent.test.tsx +0 -49
  257. package/src/helpers/__tests__/includeHiddenElements.test.tsx +0 -39
  258. package/src/helpers/__tests__/query-name.test.ts +0 -10
  259. package/src/helpers/__tests__/timers.test.ts +0 -8
  260. package/src/helpers/accessiblity.ts +0 -108
  261. package/src/helpers/component-tree.ts +0 -94
  262. package/src/helpers/debugDeep.ts +0 -27
  263. package/src/helpers/debugShallow.ts +0 -22
  264. package/src/helpers/deprecation.ts +0 -53
  265. package/src/helpers/errors.ts +0 -66
  266. package/src/helpers/findAll.ts +0 -70
  267. package/src/helpers/format-default.ts +0 -72
  268. package/src/helpers/format.ts +0 -47
  269. package/src/helpers/getTextContent.ts +0 -20
  270. package/src/helpers/host-component-names.tsx +0 -88
  271. package/src/helpers/matchers/__tests__/matchArrayValue.test.ts +0 -34
  272. package/src/helpers/matchers/__tests__/matchObject.test.ts +0 -37
  273. package/src/helpers/matchers/__tests__/matchStringValue.test.ts +0 -15
  274. package/src/helpers/matchers/accessibilityState.ts +0 -48
  275. package/src/helpers/matchers/accessibilityValue.ts +0 -24
  276. package/src/helpers/matchers/matchArrayProp.ts +0 -21
  277. package/src/helpers/matchers/matchLabelText.ts +0 -50
  278. package/src/helpers/matchers/matchObjectProp.ts +0 -25
  279. package/src/helpers/matchers/matchStringProp.ts +0 -23
  280. package/src/helpers/matchers/matchTextContent.ts +0 -20
  281. package/src/helpers/pointer-events.ts +0 -27
  282. package/src/helpers/query-name.ts +0 -4
  283. package/src/helpers/stringValidation.ts +0 -36
  284. package/src/helpers/timers.ts +0 -98
  285. package/src/index.ts +0 -33
  286. package/src/matches.ts +0 -49
  287. package/src/pure.ts +0 -27
  288. package/src/queries/__tests__/a11yState.test.tsx +0 -439
  289. package/src/queries/__tests__/a11yValue.test.tsx +0 -309
  290. package/src/queries/__tests__/displayValue.test.tsx +0 -221
  291. package/src/queries/__tests__/hintText.test.tsx +0 -177
  292. package/src/queries/__tests__/labelText.test.tsx +0 -242
  293. package/src/queries/__tests__/makeQueries.test.tsx +0 -235
  294. package/src/queries/__tests__/placeholderText.test.tsx +0 -136
  295. package/src/queries/__tests__/role-value.test.tsx +0 -176
  296. package/src/queries/__tests__/role.test.tsx +0 -824
  297. package/src/queries/__tests__/testId.test.tsx +0 -200
  298. package/src/queries/__tests__/text.test.tsx +0 -556
  299. package/src/queries/a11yState.ts +0 -127
  300. package/src/queries/a11yValue.ts +0 -127
  301. package/src/queries/displayValue.ts +0 -71
  302. package/src/queries/hintText.ts +0 -107
  303. package/src/queries/labelText.ts +0 -57
  304. package/src/queries/makeQueries.ts +0 -255
  305. package/src/queries/options.ts +0 -14
  306. package/src/queries/placeholderText.ts +0 -72
  307. package/src/queries/role.ts +0 -131
  308. package/src/queries/testId.ts +0 -66
  309. package/src/queries/text.ts +0 -63
  310. package/src/queries/unsafeProps.ts +0 -76
  311. package/src/queries/unsafeType.ts +0 -73
  312. package/src/react-versions.ts +0 -11
  313. package/src/render-act.ts +0 -19
  314. package/src/render.tsx +0 -183
  315. package/src/renderHook.tsx +0 -56
  316. package/src/screen.ts +0 -123
  317. package/src/shallow.ts +0 -18
  318. package/src/test-utils/events.ts +0 -24
  319. package/src/test-utils/index.ts +0 -1
  320. package/src/user-event/__tests__/__snapshots__/clear.test.tsx.snap +0 -269
  321. package/src/user-event/__tests__/clear.test.tsx +0 -217
  322. package/src/user-event/clear.ts +0 -59
  323. package/src/user-event/event-builder/common.ts +0 -66
  324. package/src/user-event/event-builder/index.ts +0 -7
  325. package/src/user-event/event-builder/text-input.ts +0 -86
  326. package/src/user-event/index.ts +0 -18
  327. package/src/user-event/press/__tests__/longPress.real-timers.test.tsx +0 -117
  328. package/src/user-event/press/__tests__/longPress.test.tsx +0 -157
  329. package/src/user-event/press/__tests__/press.real-timers.test.tsx +0 -320
  330. package/src/user-event/press/__tests__/press.test.tsx +0 -457
  331. package/src/user-event/press/constants.ts +0 -7
  332. package/src/user-event/press/index.ts +0 -1
  333. package/src/user-event/press/press.ts +0 -163
  334. package/src/user-event/setup/index.ts +0 -2
  335. package/src/user-event/setup/setup.ts +0 -142
  336. package/src/user-event/type/__tests__/__snapshots__/type-managed.test.tsx.snap +0 -339
  337. package/src/user-event/type/__tests__/__snapshots__/type.test.tsx.snap +0 -668
  338. package/src/user-event/type/__tests__/parseKeys.test.ts +0 -23
  339. package/src/user-event/type/__tests__/type-managed.test.tsx +0 -120
  340. package/src/user-event/type/__tests__/type.test.tsx +0 -335
  341. package/src/user-event/type/index.ts +0 -1
  342. package/src/user-event/type/parseKeys.ts +0 -41
  343. package/src/user-event/type/type.ts +0 -138
  344. package/src/user-event/utils/__tests__/dispatch-event.test.tsx +0 -41
  345. package/src/user-event/utils/__tests__/wait.test.ts +0 -62
  346. package/src/user-event/utils/content-size.ts +0 -25
  347. package/src/user-event/utils/dispatch-event.ts +0 -38
  348. package/src/user-event/utils/host-components.ts +0 -6
  349. package/src/user-event/utils/index.ts +0 -6
  350. package/src/user-event/utils/text-range.ts +0 -4
  351. package/src/user-event/utils/wait.ts +0 -15
  352. package/src/user-event/utils/warn-about-real-timers.ts +0 -13
  353. package/src/waitFor.ts +0 -228
  354. package/src/waitForElementToBeRemoved.ts +0 -42
  355. package/src/within.ts +0 -30
  356. package/tsconfig.json +0 -17
  357. package/tsconfig.release.json +0 -8
  358. package/website/.gitignore +0 -20
  359. package/website/README.md +0 -33
  360. package/website/docker/.dockerignore +0 -3
  361. package/website/docker/Dockerfile +0 -9
  362. package/website/docker/docker-compose.yml +0 -11
  363. package/website/docs/API.md +0 -940
  364. package/website/docs/EslintPLluginTestingLibrary.md +0 -28
  365. package/website/docs/FAQ.md +0 -44
  366. package/website/docs/GettingStarted.md +0 -100
  367. package/website/docs/HowShouldIQuery.md +0 -21
  368. package/website/docs/MigrationV11.md +0 -64
  369. package/website/docs/MigrationV12.md +0 -67
  370. package/website/docs/MigrationV2.md +0 -126
  371. package/website/docs/MigrationV7.md +0 -119
  372. package/website/docs/MigrationV9.md +0 -67
  373. package/website/docs/Queries.md +0 -572
  374. package/website/docs/ReactNavigation.md +0 -371
  375. package/website/docs/ReduxIntegration.md +0 -137
  376. package/website/docs/TestingEnvironment.md +0 -154
  377. package/website/docs/Troubleshooting.md +0 -44
  378. package/website/docs/UnderstandingAct.md +0 -227
  379. package/website/docs/UserEvent.md +0 -191
  380. package/website/docusaurus.config.js +0 -114
  381. package/website/package.json +0 -31
  382. package/website/sidebars.js +0 -20
  383. package/website/src/components/Feature.js +0 -31
  384. package/website/src/css/custom.css +0 -13
  385. package/website/src/css/index.module.css +0 -77
  386. package/website/src/pages/index.js +0 -82
  387. package/website/static/.nojekyll +0 -0
  388. package/website/static/css/custom.css +0 -28
  389. package/website/static/img/hit.png +0 -0
  390. package/website/static/img/locomotive.png +0 -0
  391. package/website/static/img/owl.png +0 -0
  392. package/website/static/img/tools.png +0 -0
  393. package/website/yarn.lock +0 -7669
  394. package/yarn.lock +0 -7765
  395. /package/build/helpers/{getTextContent.d.ts → text-content.d.ts} +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"press.js","names":["_act","_interopRequireDefault","require","_componentTree","_pointerEvents","_hostComponentNames","_eventBuilder","_utils","_constants","obj","__esModule","default","press","element","basePress","config","type","duration","longPress","options","isPressableText","emitTextPressEvents","isEditableTextInput","isPointerEventEnabled","emitTextInputPressEvents","isEnabledTouchResponder","emitPressablePressEvents","hostParentElement","getHostParent","warnAboutRealTimersIfNeeded","wait","act","dispatchEvent","EventBuilder","Common","responderGrant","responderRelease","DEFAULT_MIN_PRESS_DURATION","props","onStartShouldSetResponder","hasPressEventHandler","Boolean","onPress","onLongPress","onPressIn","onPressOut","isHostText","disabled","touch"],"sources":["../../../src/user-event/press/press.ts"],"sourcesContent":["import { ReactTestInstance } from 'react-test-renderer';\nimport act from '../../act';\nimport { getHostParent } from '../../helpers/component-tree';\nimport { isPointerEventEnabled } from '../../helpers/pointer-events';\nimport { isHostText } from '../../helpers/host-component-names';\nimport { EventBuilder } from '../event-builder';\nimport { UserEventConfig, UserEventInstance } from '../setup';\nimport {\n dispatchEvent,\n isEditableTextInput,\n wait,\n warnAboutRealTimersIfNeeded,\n} from '../utils';\nimport { DEFAULT_MIN_PRESS_DURATION } from './constants';\n\nexport interface PressOptions {\n duration?: number;\n}\n\nexport async function press(\n this: UserEventInstance,\n element: ReactTestInstance\n): Promise<void> {\n await basePress(this.config, element, {\n type: 'press',\n duration: 0,\n });\n}\n\nexport async function longPress(\n this: UserEventInstance,\n element: ReactTestInstance,\n options?: PressOptions\n): Promise<void> {\n await basePress(this.config, element, {\n type: 'longPress',\n duration: options?.duration ?? 500,\n });\n}\n\ninterface BasePressOptions {\n type: 'press' | 'longPress';\n duration: number;\n}\n\nconst basePress = async (\n config: UserEventConfig,\n element: ReactTestInstance,\n options: BasePressOptions\n): Promise<void> => {\n if (isPressableText(element)) {\n await emitTextPressEvents(config, element, options);\n return;\n }\n\n if (isEditableTextInput(element) && isPointerEventEnabled(element)) {\n await emitTextInputPressEvents(config, element, options);\n return;\n }\n\n if (isEnabledTouchResponder(element)) {\n await emitPressablePressEvents(config, element, options);\n return;\n }\n\n const hostParentElement = getHostParent(element);\n if (!hostParentElement) {\n return;\n }\n\n await basePress(config, hostParentElement, options);\n};\n\nconst emitPressablePressEvents = async (\n config: UserEventConfig,\n element: ReactTestInstance,\n options: BasePressOptions\n) => {\n warnAboutRealTimersIfNeeded();\n\n await wait(config);\n\n await act(async () => {\n dispatchEvent(\n element,\n 'responderGrant',\n EventBuilder.Common.responderGrant()\n );\n\n await wait(config, options.duration);\n\n dispatchEvent(\n element,\n 'responderRelease',\n EventBuilder.Common.responderRelease()\n );\n\n // React Native will wait for minimal delay of DEFAULT_MIN_PRESS_DURATION\n // before emitting the `pressOut` event. We need to wait here, so that\n // `press()` function does not return before that.\n if (DEFAULT_MIN_PRESS_DURATION - options.duration > 0) {\n await wait(config, DEFAULT_MIN_PRESS_DURATION - options.duration);\n }\n });\n};\n\nconst isEnabledTouchResponder = (element: ReactTestInstance) => {\n return (\n isPointerEventEnabled(element) &&\n element.props.onStartShouldSetResponder?.()\n );\n};\n\nconst isPressableText = (element: ReactTestInstance) => {\n const hasPressEventHandler = Boolean(\n element.props.onPress ||\n element.props.onLongPress ||\n element.props.onPressIn ||\n element.props.onPressOut\n );\n\n return (\n isHostText(element) &&\n isPointerEventEnabled(element) &&\n !element.props.disabled &&\n hasPressEventHandler\n );\n};\n\n/**\n * Dispatches a press event sequence for Text.\n */\nasync function emitTextPressEvents(\n config: UserEventConfig,\n element: ReactTestInstance,\n options: BasePressOptions\n) {\n await wait(config);\n dispatchEvent(element, 'pressIn', EventBuilder.Common.touch());\n\n // Emit either `press` or `longPress`.\n dispatchEvent(element, options.type, EventBuilder.Common.touch());\n\n await wait(config, options.duration);\n dispatchEvent(element, 'pressOut', EventBuilder.Common.touch());\n}\n\n/**\n * Dispatches a press event sequence for TextInput.\n */\nasync function emitTextInputPressEvents(\n config: UserEventConfig,\n element: ReactTestInstance,\n options: BasePressOptions\n) {\n await wait(config);\n dispatchEvent(element, 'pressIn', EventBuilder.Common.touch());\n\n // Note: TextInput does not have `onPress`/`onLongPress` props.\n\n await wait(config, options.duration);\n dispatchEvent(element, 'pressOut', EventBuilder.Common.touch());\n}\n"],"mappings":";;;;;;;AACA,IAAAA,IAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,cAAA,GAAAD,OAAA;AACA,IAAAE,cAAA,GAAAF,OAAA;AACA,IAAAG,mBAAA,GAAAH,OAAA;AACA,IAAAI,aAAA,GAAAJ,OAAA;AAEA,IAAAK,MAAA,GAAAL,OAAA;AAMA,IAAAM,UAAA,GAAAN,OAAA;AAAyD,SAAAD,uBAAAQ,GAAA,WAAAA,GAAA,IAAAA,GAAA,CAAAC,UAAA,GAAAD,GAAA,KAAAE,OAAA,EAAAF,GAAA;AAMlD,eAAeG,KAAKA,CAEzBC,OAA0B,EACX;EACf,MAAMC,SAAS,CAAC,IAAI,CAACC,MAAM,EAAEF,OAAO,EAAE;IACpCG,IAAI,EAAE,OAAO;IACbC,QAAQ,EAAE;EACZ,CAAC,CAAC;AACJ;AAEO,eAAeC,SAASA,CAE7BL,OAA0B,EAC1BM,OAAsB,EACP;EACf,MAAML,SAAS,CAAC,IAAI,CAACC,MAAM,EAAEF,OAAO,EAAE;IACpCG,IAAI,EAAE,WAAW;IACjBC,QAAQ,EAAEE,OAAO,EAAEF,QAAQ,IAAI;EACjC,CAAC,CAAC;AACJ;AAOA,MAAMH,SAAS,GAAG,MAAAA,CAChBC,MAAuB,EACvBF,OAA0B,EAC1BM,OAAyB,KACP;EAClB,IAAIC,eAAe,CAACP,OAAO,CAAC,EAAE;IAC5B,MAAMQ,mBAAmB,CAACN,MAAM,EAAEF,OAAO,EAAEM,OAAO,CAAC;IACnD;EACF;EAEA,IAAI,IAAAG,0BAAmB,EAACT,OAAO,CAAC,IAAI,IAAAU,oCAAqB,EAACV,OAAO,C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I,OAAO,CAACF,QAAQ,CAAC;EACpC,IAAAe,oBAAa,EAACnB,OAAO,EAAE,UAAU,EAAEoB,0BAAY,CAACC,MAAM,CAACc,KAAK,CAAC,CAAC,CAAC;AACjE"}
1
+ {"version":3,"file":"press.js","names":["_act","_interopRequireDefault","require","_componentTree","_textInput","_pointerEvents","_hostComponentNames","_eventBuilder","_utils","_constants","obj","__esModule","default","press","element","basePress","config","type","duration","longPress","options","isPressableText","emitTextPressEvents","isHostTextInput","isTextInputEditable","isPointerEventEnabled","emitTextInputPressEvents","isEnabledTouchResponder","emitPressablePressEvents","hostParentElement","getHostParent","warnAboutRealTimersIfNeeded","wait","act","dispatchEvent","EventBuilder","Common","responderGrant","responderRelease","DEFAULT_MIN_PRESS_DURATION","props","onStartShouldSetResponder","hasPressEventHandler","Boolean","onPress","onLongPress","onPressIn","onPressOut","isHostText","disabled","touch"],"sources":["../../../src/user-event/press/press.ts"],"sourcesContent":["import { ReactTestInstance } from 'react-test-renderer';\nimport act from '../../act';\nimport { getHostParent } from '../../helpers/component-tree';\nimport { isTextInputEditable } from '../../helpers/text-input';\nimport { isPointerEventEnabled } from '../../helpers/pointer-events';\nimport {\n isHostText,\n isHostTextInput,\n} from '../../helpers/host-component-names';\nimport { EventBuilder } from '../event-builder';\nimport { UserEventConfig, UserEventInstance } from '../setup';\nimport { dispatchEvent, wait, warnAboutRealTimersIfNeeded } from '../utils';\nimport { DEFAULT_MIN_PRESS_DURATION } from './constants';\n\nexport interface PressOptions {\n duration?: number;\n}\n\nexport async function press(\n this: UserEventInstance,\n element: ReactTestInstance\n): Promise<void> {\n await basePress(this.config, element, {\n type: 'press',\n duration: 0,\n });\n}\n\nexport async function longPress(\n this: UserEventInstance,\n element: ReactTestInstance,\n options?: PressOptions\n): Promise<void> {\n await basePress(this.config, element, {\n type: 'longPress',\n duration: options?.duration ?? 500,\n });\n}\n\ninterface BasePressOptions {\n type: 'press' | 'longPress';\n duration: number;\n}\n\nconst basePress = async (\n config: UserEventConfig,\n element: ReactTestInstance,\n options: BasePressOptions\n): Promise<void> => {\n if (isPressableText(element)) {\n await emitTextPressEvents(config, element, options);\n return;\n }\n\n if (\n isHostTextInput(element) &&\n isTextInputEditable(element) &&\n isPointerEventEnabled(element)\n ) {\n await emitTextInputPressEvents(config, element, options);\n return;\n }\n\n if (isEnabledTouchResponder(element)) {\n await emitPressablePressEvents(config, element, options);\n return;\n }\n\n const hostParentElement = getHostParent(element);\n if (!hostParentElement) {\n return;\n }\n\n await basePress(config, hostParentElement, options);\n};\n\nconst emitPressablePressEvents = async (\n config: UserEventConfig,\n element: ReactTestInstance,\n options: BasePressOptions\n) => {\n warnAboutRealTimersIfNeeded();\n\n await wait(config);\n\n await act(async () => {\n dispatchEvent(\n element,\n 'responderGrant',\n EventBuilder.Common.responderGrant()\n );\n\n await wait(config, options.duration);\n\n dispatchEvent(\n element,\n 'responderRelease',\n EventBuilder.Common.responderRelease()\n );\n\n // React Native will wait for minimal delay of DEFAULT_MIN_PRESS_DURATION\n // before emitting the `pressOut` event. We need to wait here, so that\n // `press()` function does not return before that.\n if (DEFAULT_MIN_PRESS_DURATION - options.duration > 0) {\n await wait(config, DEFAULT_MIN_PRESS_DURATION - options.duration);\n }\n });\n};\n\nconst isEnabledTouchResponder = (element: ReactTestInstance) => {\n return (\n isPointerEventEnabled(element) &&\n element.props.onStartShouldSetResponder?.()\n );\n};\n\nconst isPressableText = (element: ReactTestInstance) => {\n const hasPressEventHandler = Boolean(\n element.props.onPress ||\n element.props.onLongPress ||\n element.props.onPressIn ||\n element.props.onPressOut\n );\n\n return (\n isHostText(element) &&\n isPointerEventEnabled(element) &&\n !element.props.disabled &&\n hasPressEventHandler\n );\n};\n\n/**\n * Dispatches a press event sequence for Text.\n */\nasync function emitTextPressEvents(\n config: UserEventConfig,\n element: ReactTestInstance,\n options: BasePressOptions\n) {\n await wait(config);\n dispatchEvent(element, 'pressIn', EventBuilder.Common.touch());\n\n // Emit either `press` or `longPress`.\n dispatchEvent(element, options.type, EventBuilder.Common.touch());\n\n await wait(config, options.duration);\n dispatchEvent(element, 'pressOut', EventBuilder.Common.touch());\n}\n\n/**\n * Dispatches a press event sequence for TextInput.\n */\nasync function emitTextInputPressEvents(\n config: UserEventConfig,\n element: ReactTestInstance,\n options: BasePressOptions\n) {\n await wait(config);\n dispatchEvent(element, 'pressIn', EventBuilder.Common.touch());\n\n // Note: TextInput does not have `onPress`/`onLongPress` props.\n\n await wait(config, options.duration);\n dispatchEvent(element, 'pressOut', EventBuilder.Common.touch());\n}\n"],"mappings":";;;;;;;AACA,IAAAA,IAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,cAAA,GAAAD,OAAA;AACA,IAAAE,UAAA,GAAAF,OAAA;AACA,IAAAG,cAAA,GAAAH,OAAA;AACA,IAAAI,mBAAA,GAAAJ,OAAA;AAIA,IAAAK,aAAA,GAAAL,OAAA;AAEA,IAAAM,MAAA,GAAAN,OAAA;AACA,IAAAO,UAAA,GAAAP,OAAA;AAAyD,SAAAD,uBAAAS,GAAA,WAAAA,GAAA,IAAAA,GAAA,CAAAC,UAAA,GAAAD,GAAA,KAAAE,OAAA,EAAAF,GAAA;AAMlD,eAAeG,KAAKA,CAEzBC,OAA0B,EACX;EACf,MAAMC,SAAS,CAAC,IAAI,CAACC,MAAM,EAAEF,OAAO,EAAE;IACpCG,IAAI,EAAE,OAAO;IACbC,QAAQ,EAAE;EACZ,CAAC,CAAC;AACJ;AAEO,eAAeC,SAASA,CAE7BL,OAA0B,EAC1BM,OAAsB,EACP;EACf,MAAML,SAAS,CAAC,IAAI,CAACC,MAAM,EAAEF,OAAO,EAAE;IACpCG,IAAI,EAAE,WAAW;IACjBC,QAAQ,EAAEE,OAAO,EAAEF,QAAQ,IAAI;EACjC,CAAC,CAAC;AACJ;AAOA,MAAMH,SAAS,GAAG,MAAAA,CAChBC,MAAuB,EACvBF,OAA0B,EAC1BM,OAAyB,KACP;EAClB,IAAIC,eAAe,CAACP,OAAO,CAAC,E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C1BM,OAAyB,EACzB;EACA,MAAM,IAAAY,WAAI,EAAChB,MAAM,CAAC;EAClB,IAAAkB,oBAAa,EAACpB,OAAO,EAAE,SAAS,EAAEqB,0BAAY,CAACC,MAAM,CAACc,KAAK,CAAC,CAAC,CAAC;;EAE9D;;EAEA,MAAM,IAAAlB,WAAI,EAAChB,MAAM,EAAEI,OAAO,CAACF,QAAQ,CAAC;EACpC,IAAAgB,oBAAa,EAACpB,OAAO,EAAE,UAAU,EAAEqB,0BAAY,CAACC,MAAM,CAACc,KAAK,CAAC,CAAC,CAAC;AACjE"}
@@ -8,6 +8,7 @@ exports.type = type;
8
8
  var _hostComponentNames = require("../../helpers/host-component-names");
9
9
  var _eventBuilder = require("../event-builder");
10
10
  var _errors = require("../../helpers/errors");
11
+ var _textInput = require("../../helpers/text-input");
11
12
  var _pointerEvents = require("../../helpers/pointer-events");
12
13
  var _utils = require("../utils");
13
14
  var _parseKeys = require("./parseKeys");
@@ -17,7 +18,7 @@ async function type(element, text, options) {
17
18
  }
18
19
 
19
20
  // Skip events if the element is disabled
20
- if (element.props.editable === false || !(0, _pointerEvents.isPointerEventEnabled)(element)) {
21
+ if (!(0, _textInput.isTextInputEditable)(element) || !(0, _pointerEvents.isPointerEventEnabled)(element)) {
21
22
  return;
22
23
  }
23
24
  const keys = (0, _parseKeys.parseKeys)(text);
@@ -1 +1 @@
1
- {"version":3,"file":"type.js","names":["_hostComponentNames","require","_eventBuilder","_errors","_pointerEvents","_utils","_parseKeys","type","element","text","options","isHostTextInput","ErrorWithStack","props","editable","isPointerEventEnabled","keys","parseKeys","skipPress","dispatchEvent","EventBuilder","Common","touch","focus","wait","config","currentText","value","defaultValue","key","previousText","applyKey","emitTypingEvents","finalText","submitEditing","TextInput","endEditing","blur","isMultiline","multiline","keyPress","textInput","change","selectionRange","start","length","end","selectionChange","contentSize","getTextContentSize","contentSizeChange","slice"],"sources":["../../../src/user-event/type/type.ts"],"sourcesContent":["import { ReactTestInstance } from 'react-test-renderer';\nimport { isHostTextInput } from '../../helpers/host-component-names';\nimport { EventBuilder } from '../event-builder';\nimport { ErrorWithStack } from '../../helpers/errors';\nimport { isPointerEventEnabled } from '../../helpers/pointer-events';\nimport { UserEventConfig, UserEventInstance } from '../setup';\nimport { dispatchEvent, wait, getTextContentSize } from '../utils';\n\nimport { parseKeys } from './parseKeys';\n\nexport interface TypeOptions {\n skipPress?: boolean;\n submitEditing?: boolean;\n}\n\nexport async function type(\n this: UserEventInstance,\n element: ReactTestInstance,\n text: string,\n options?: TypeOptions\n): Promise<void> {\n if (!isHostTextInput(element)) {\n throw new ErrorWithStack(\n `type() works only with host \"TextInput\" elements. Passed element has type \"${element.type}\".`,\n type\n );\n }\n\n // Skip events if the element is disabled\n if (element.props.editable === false || !isPointerEventEnabled(element)) {\n return;\n }\n\n const keys = parseKeys(text);\n\n if (!options?.skipPress) {\n dispatchEvent(element, 'pressIn', EventBuilder.Common.touch());\n }\n\n dispatchEvent(element, 'focus', EventBuilder.Common.focus());\n\n if (!options?.skipPress) {\n await wait(this.config);\n dispatchEvent(element, 'pressOut', EventBuilder.Common.touch());\n }\n\n let currentText = element.props.value ?? element.props.defaultValue ?? '';\n for (const key of keys) {\n const previousText = element.props.value ?? currentText;\n currentText = applyKey(previousText, key);\n\n await emitTypingEvents(\n this.config,\n element,\n key,\n currentText,\n previousText\n );\n }\n\n const finalText = element.props.value ?? currentText;\n await wait(this.config);\n\n if (options?.submitEditing) {\n dispatchEvent(\n element,\n 'submitEditing',\n EventBuilder.TextInput.submitEditing(finalText)\n );\n }\n\n dispatchEvent(\n element,\n 'endEditing',\n EventBuilder.TextInput.endEditing(finalText)\n );\n\n dispatchEvent(element, 'blur', EventBuilder.Common.blur());\n}\n\nexport async function emitTypingEvents(\n config: UserEventConfig,\n element: ReactTestInstance,\n key: string,\n currentText: string,\n previousText: string\n) {\n const isMultiline = element.props.multiline === true;\n\n await wait(config);\n dispatchEvent(element, 'keyPress', EventBuilder.TextInput.keyPress(key));\n\n // According to the docs only multiline TextInput emits textInput event\n // @see: https://github.com/facebook/react-native/blob/42a2898617da1d7a98ef574a5b9e500681c8f738/packages/react-native/Libraries/Components/TextInput/TextInput.d.ts#L754\n if (isMultiline) {\n dispatchEvent(\n element,\n 'textInput',\n EventBuilder.TextInput.textInput(currentText, previousText)\n );\n }\n\n dispatchEvent(element, 'change', EventBuilder.TextInput.change(currentText));\n dispatchEvent(element, 'changeText', currentText);\n\n const selectionRange = {\n start: currentText.length,\n end: currentText.length,\n };\n dispatchEvent(\n element,\n 'selectionChange',\n EventBuilder.TextInput.selectionChange(selectionRange)\n );\n\n // According to the docs only multiline TextInput emits contentSizeChange event\n // @see: https://reactnative.dev/docs/textinput#oncontentsizechange\n if (isMultiline) {\n const contentSize = getTextContentSize(currentText);\n dispatchEvent(\n element,\n 'contentSizeChange',\n EventBuilder.TextInput.contentSizeChange(contentSize)\n );\n }\n}\n\nfunction applyKey(text: string, key: string) {\n if (key === 'Enter') {\n return `${text}\\n`;\n }\n\n if (key === 'Backspace') {\n return text.slice(0, -1);\n }\n\n return text + key;\n}\n"],"mappings":";;;;;;;AACA,IAAAA,mBAAA,GAAAC,OAAA;AACA,IAAAC,aAAA,GAAAD,OAAA;AACA,IAAAE,OAAA,GAAAF,OAAA;AACA,IAAAG,cAAA,GAAAH,OAAA;AAEA,IAAAI,MAAA,GAAAJ,OAAA;AAEA,IAAAK,UAAA,GAAAL,OAAA;AAOO,eAAeM,IAAIA,CAExBC,OAA0B,EAC1BC,IAAY,EACZC,OAAqB,EACN;EACf,IAAI,CAAC,IAAAC,mCAAe,EAACH,OAAO,CAAC,EAAE;IAC7B,MAAM,IAAII,sBAAc,CACrB,8EAA6EJ,OAAO,CAACD,IAAK,IAAG,EAC9FA,IACF,CAAC;EACH;;EAEA;EACA,IAAIC,OAAO,CAACK,KAAK,CAACC,QAAQ,KAAK,KAAK,IAAI,CAAC,IAAAC,oCAAqB,EAACP,OAAO,CAAC,EAAE;IACvE;EACF;EAEA,MAAMQ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CACtD,CAAC;EACH;AACF;AAEA,SAASjB,QAAQA,CAACtB,IAAY,EAAEoB,GAAW,EAAE;EAC3C,IAAIA,GAAG,KAAK,OAAO,EAAE;IACnB,OAAQ,GAAEpB,IAAK,IAAG;EACpB;EAEA,IAAIoB,GAAG,KAAK,WAAW,EAAE;IACvB,OAAOpB,IAAI,CAAC0C,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;EAC1B;EAEA,OAAO1C,IAAI,GAAGoB,GAAG;AACnB"}
1
+ {"version":3,"file":"type.js","names":["_hostComponentNames","require","_eventBuilder","_errors","_textInput","_pointerEvents","_utils","_parseKeys","type","element","text","options","isHostTextInput","ErrorWithStack","isTextInputEditable","isPointerEventEnabled","keys","parseKeys","skipPress","dispatchEvent","EventBuilder","Common","touch","focus","wait","config","currentText","props","value","defaultValue","key","previousText","applyKey","emitTypingEvents","finalText","submitEditing","TextInput","endEditing","blur","isMultiline","multiline","keyPress","textInput","change","selectionRange","start","length","end","selectionChange","contentSize","getTextContentSize","contentSizeChange","slice"],"sources":["../../../src/user-event/type/type.ts"],"sourcesContent":["import { ReactTestInstance } from 'react-test-renderer';\nimport { isHostTextInput } from '../../helpers/host-component-names';\nimport { EventBuilder } from '../event-builder';\nimport { ErrorWithStack } from '../../helpers/errors';\nimport { isTextInputEditable } from '../../helpers/text-input';\nimport { isPointerEventEnabled } from '../../helpers/pointer-events';\nimport { UserEventConfig, UserEventInstance } from '../setup';\nimport { dispatchEvent, wait, getTextContentSize } from '../utils';\nimport { parseKeys } from './parseKeys';\n\nexport interface TypeOptions {\n skipPress?: boolean;\n submitEditing?: boolean;\n}\n\nexport async function type(\n this: UserEventInstance,\n element: ReactTestInstance,\n text: string,\n options?: TypeOptions\n): Promise<void> {\n if (!isHostTextInput(element)) {\n throw new ErrorWithStack(\n `type() works only with host \"TextInput\" elements. Passed element has type \"${element.type}\".`,\n type\n );\n }\n\n // Skip events if the element is disabled\n if (!isTextInputEditable(element) || !isPointerEventEnabled(element)) {\n return;\n }\n\n const keys = parseKeys(text);\n\n if (!options?.skipPress) {\n dispatchEvent(element, 'pressIn', EventBuilder.Common.touch());\n }\n\n dispatchEvent(element, 'focus', EventBuilder.Common.focus());\n\n if (!options?.skipPress) {\n await wait(this.config);\n dispatchEvent(element, 'pressOut', EventBuilder.Common.touch());\n }\n\n let currentText = element.props.value ?? element.props.defaultValue ?? '';\n for (const key of keys) {\n const previousText = element.props.value ?? currentText;\n currentText = applyKey(previousText, key);\n\n await emitTypingEvents(\n this.config,\n element,\n key,\n currentText,\n previousText\n );\n }\n\n const finalText = element.props.value ?? currentText;\n await wait(this.config);\n\n if (options?.submitEditing) {\n dispatchEvent(\n element,\n 'submitEditing',\n EventBuilder.TextInput.submitEditing(finalText)\n );\n }\n\n dispatchEvent(\n element,\n 'endEditing',\n EventBuilder.TextInput.endEditing(finalText)\n );\n\n dispatchEvent(element, 'blur', EventBuilder.Common.blur());\n}\n\nexport async function emitTypingEvents(\n config: UserEventConfig,\n element: ReactTestInstance,\n key: string,\n currentText: string,\n previousText: string\n) {\n const isMultiline = element.props.multiline === true;\n\n await wait(config);\n dispatchEvent(element, 'keyPress', EventBuilder.TextInput.keyPress(key));\n\n // According to the docs only multiline TextInput emits textInput event\n // @see: https://github.com/facebook/react-native/blob/42a2898617da1d7a98ef574a5b9e500681c8f738/packages/react-native/Libraries/Components/TextInput/TextInput.d.ts#L754\n if (isMultiline) {\n dispatchEvent(\n element,\n 'textInput',\n EventBuilder.TextInput.textInput(currentText, previousText)\n );\n }\n\n dispatchEvent(element, 'change', EventBuilder.TextInput.change(currentText));\n dispatchEvent(element, 'changeText', currentText);\n\n const selectionRange = {\n start: currentText.length,\n end: currentText.length,\n };\n dispatchEvent(\n element,\n 'selectionChange',\n EventBuilder.TextInput.selectionChange(selectionRange)\n );\n\n // According to the docs only multiline TextInput emits contentSizeChange event\n // @see: https://reactnative.dev/docs/textinput#oncontentsizechange\n if (isMultiline) {\n const contentSize = getTextContentSize(currentText);\n dispatchEvent(\n element,\n 'contentSizeChange',\n EventBuilder.TextInput.contentSizeChange(contentSize)\n );\n }\n}\n\nfunction applyKey(text: string, key: string) {\n if (key === 'Enter') {\n return `${text}\\n`;\n }\n\n if (key === 'Backspace') {\n return text.slice(0, -1);\n }\n\n return text + key;\n}\n"],"mappings":";;;;;;;AACA,IAAAA,mBAAA,GAAAC,OAAA;AACA,IAAAC,aAAA,GAAAD,OAAA;AACA,IAAAE,OAAA,GAAAF,OAAA;AACA,IAAAG,UAAA,GAAAH,OAAA;AACA,IAAAI,cAAA,GAAAJ,OAAA;AAEA,IAAAK,MAAA,GAAAL,OAAA;AACA,IAAAM,UAAA,GAAAN,OAAA;AAOO,eAAeO,IAAIA,CAExBC,OAA0B,EAC1BC,IAAY,EACZC,OAAqB,EACN;EACf,IAAI,CAAC,IAAAC,mCAAe,EAACH,OAAO,CAAC,EAAE;IAC7B,MAAM,IAAII,sBAAc,CACrB,8EAA6EJ,OAAO,CAACD,IAAK,IAAG,EAC9FA,IACF,CAAC;EACH;;EAEA;EACA,IAAI,CAAC,IAAAM,8BAAmB,EAACL,OAAO,CAAC,IAAI,CAAC,IAAAM,oCAAqB,EAACN,OAAO,CAAC,EAAE;IACpE;EACF;EAEA,MAAMO,IAAI,GAAG,IAAAC,oBAAS,EAACP,IAAI,CAAC;EAE5B,IAAI,CAACC,OAAO,EAAEO,SAAS,EAAE;IACvB,IAAAC,oBAAa,EAACV,OAAO,EAAE,SAAS,EAAEW,0BAAY,CAACC,MAAM,CAACC,KAAK,CAAC,CAAC,CAAC;EAChE;EAEA,IAAAH,oBAAa,EAACV,OAAO,EAAE,OAAO,EAAEW,0BAAY,CAACC,MAAM,CAACE,KAAK,CAAC,CAAC,CAAC;EAE5D,IAAI,CAACZ,OAAO,EAAEO,SAAS,EAAE;IACvB,MAAM,IAAAM,WAAI,EAAC,IAAI,CAACC,MAAM,CAAC;IACvB,IAAAN,oBAAa,EAACV,OAAO,EAAE,UAAU,EAAEW,0BAAY,CAACC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,CAACX,GAAG,CAAC,CAAC;;EAExE;EACA;EACA,IAAIS,WAAW,EAAE;IACf,IAAApB,oBAAa,EACXV,OAAO,EACP,WAAW,EACXW,0BAAY,CAACgB,SAAS,CAACM,SAAS,CAAChB,WAAW,EAAEK,YAAY,CAC5D,CAAC;EACH;EAEA,IAAAZ,oBAAa,EAACV,OAAO,EAAE,QAAQ,EAAEW,0BAAY,CAACgB,SAAS,CAACO,MAAM,CAACjB,WAAW,CAAC,CAAC;EAC5E,IAAAP,oBAAa,EAACV,OAAO,EAAE,YAAY,EAAEiB,WAAW,CAAC;EAEjD,MAAMkB,cAAc,GAAG;IACrBC,KAAK,EAAEnB,WAAW,CAACoB,MAAM;IACzBC,GAAG,EAAErB,WAAW,CAACoB;EACnB,CAAC;EACD,IAAA3B,oBAAa,EACXV,OAAO,EACP,iBAAiB,EACjBW,0BAAY,CAACgB,SAAS,CAACY,eAAe,CAACJ,cAAc,CACvD,CAAC;;EAED;EACA;EACA,IAAIL,WAAW,EAAE;IACf,MAAMU,WAAW,GAAG,IAAAC,yBAAkB,EAACxB,WAAW,CAAC;IACnD,IAAAP,oBAAa,EACXV,OAAO,EACP,mBAAmB,EACnBW,0BAAY,CAACgB,SAAS,CAACe,iBAAiB,CAACF,WAAW,CACtD,CAAC;EACH;AACF;AAEA,SAASjB,QAAQA,CAACtB,IAAY,EAAEoB,GAAW,EAAE;EAC3C,IAAIA,GAAG,KAAK,OAAO,EAAE;IACnB,OAAQ,GAAEpB,IAAK,IAAG;EACpB;EAEA,IAAIoB,GAAG,KAAK,WAAW,EAAE;IACvB,OAAOpB,IAAI,CAAC0C,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;EAC1B;EAEA,OAAO1C,IAAI,GAAGoB,GAAG;AACnB"}
@@ -1,6 +1,5 @@
1
1
  export * from './content-size';
2
2
  export * from './dispatch-event';
3
- export * from './host-components';
4
3
  export * from './text-range';
5
4
  export * from './wait';
6
5
  export * from './warn-about-real-timers';
@@ -25,17 +25,6 @@ Object.keys(_dispatchEvent).forEach(function (key) {
25
25
  }
26
26
  });
27
27
  });
28
- var _hostComponents = require("./host-components");
29
- Object.keys(_hostComponents).forEach(function (key) {
30
- if (key === "default" || key === "__esModule") return;
31
- if (key in exports && exports[key] === _hostComponents[key]) return;
32
- Object.defineProperty(exports, key, {
33
- enumerable: true,
34
- get: function () {
35
- return _hostComponents[key];
36
- }
37
- });
38
- });
39
28
  var _textRange = require("./text-range");
40
29
  Object.keys(_textRange).forEach(function (key) {
41
30
  if (key === "default" || key === "__esModule") return;
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":["_contentSize","require","Object","keys","forEach","key","exports","defineProperty","enumerable","get","_dispatchEvent","_hostComponents","_textRange","_wait","_warnAboutRealTimers"],"sources":["../../../src/user-event/utils/index.ts"],"sourcesContent":["export * from './content-size';\nexport * from './dispatch-event';\nexport * from './host-components';\nexport * from './text-range';\nexport * from './wait';\nexport * from './warn-about-real-timers';\n"],"mappings":";;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAH,YAAA,EAAAI,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAL,YAAA,CAAAK,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAT,YAAA,CAAAK,GAAA;IAAA;EAAA;AAAA;AACA,IAAAK,cAAA,GAAAT,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAO,cAAA,EAAAN,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAK,cAAA,CAAAL,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAA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AA,CAAAC,IAAA,CAAAW,oBAAA,EAAAV,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAS,oBAAA,CAAAT,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAK,oBAAA,CAAAT,GAAA;IAAA;EAAA;AAAA"}
1
+ {"version":3,"file":"index.js","names":["_contentSize","require","Object","keys","forEach","key","exports","defineProperty","enumerable","get","_dispatchEvent","_textRange","_wait","_warnAboutRealTimers"],"sources":["../../../src/user-event/utils/index.ts"],"sourcesContent":["export * from './content-size';\nexport * from './dispatch-event';\nexport * from './text-range';\nexport * from './wait';\nexport * from './warn-about-real-timers';\n"],"mappings":";;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAH,YAAA,EAAAI,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAL,YAAA,CAAAK,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAT,YAAA,CAAAK,GAAA;IAAA;EAAA;AAAA;AACA,IAAAK,cAAA,GAAAT,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAO,cAAA,EAAAN,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAK,cAAA,CAAAL,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAA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3.0",
4
4
  "description": "Simple and complete React Native testing utilities that encourage good testing practices.",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",
@@ -29,20 +29,18 @@
29
29
  "jest-preset/",
30
30
  "typings/index.flow.js",
31
31
  "pure.js",
32
- "dont-cleanup-after-each.js",
33
- "!**/test-utils"
32
+ "dont-cleanup-after-each.js"
34
33
  ],
35
34
  "devDependencies": {
36
35
  "@babel/cli": "^7.19.3",
37
36
  "@babel/core": "^7.20.2",
38
- "@babel/plugin-proposal-class-properties": "^7.18.6",
39
37
  "@babel/plugin-transform-flow-strip-types": "^7.19.0",
40
38
  "@babel/preset-env": "^7.20.2",
41
39
  "@babel/preset-flow": "^7.18.6",
42
40
  "@babel/preset-react": "^7.18.6",
43
41
  "@babel/preset-typescript": "^7.18.6",
44
42
  "@callstack/eslint-config": "^13.0.1",
45
- "@testing-library/jest-native": "^5.4.0",
43
+ "@relmify/jest-serializer-strip-ansi": "^1.0.2",
46
44
  "@types/jest": "^29.2.3",
47
45
  "@types/react": "^18.2.15",
48
46
  "@types/react-test-renderer": "^18.0.0",
@@ -60,7 +58,9 @@
60
58
  "typescript": "^5.0.2"
61
59
  },
62
60
  "dependencies": {
63
- "pretty-format": "^29.0.0"
61
+ "jest-matcher-utils": "^29.6.2",
62
+ "pretty-format": "^29.6.2",
63
+ "redent": "^3.0.0"
64
64
  },
65
65
  "peerDependencies": {
66
66
  "jest": ">=28.0.0",
@@ -89,22 +89,5 @@
89
89
  "build:ts:watch": "yarn build:ts --watch --preserveWatchOutput",
90
90
  "build": "yarn clean && yarn build:js && yarn build:ts && yarn copy-flowtypes",
91
91
  "prepare": "yarn build"
92
- },
93
- "jest": {
94
- "preset": "./jest-preset",
95
- "setupFilesAfterEnv": [
96
- "./jest-setup.ts"
97
- ],
98
- "testPathIgnorePatterns": [
99
- "timerUtils",
100
- "examples/",
101
- "experiments-app/",
102
- "experiments-rtl/"
103
- ],
104
- "testTimeout": 60000,
105
- "transformIgnorePatterns": [
106
- "/node_modules/(?!(@react-native|react-native)/).*/"
107
- ],
108
- "clearMocks": true
109
92
  }
110
93
  }
package/.DS_Store DELETED
Binary file
package/.codecov.yml DELETED
@@ -1,9 +0,0 @@
1
- coverage:
2
- precision: 2
3
- round: down
4
- range: 70...100
5
-
6
- comment:
7
- behavior: default
8
- require_changes: false
9
- require_base: no
package/.eslintcache DELETED
@@ -1 +0,0 @@
1
- [{"/Users/maciej/Development/OpenSource/react-native-testing-library/src/__tests__/act.test.tsx":"1","/Users/maciej/Development/OpenSource/react-native-testing-library/src/__tests__/auto-cleanup-skip.test.tsx":"2","/Users/maciej/Development/OpenSource/react-native-testing-library/src/__tests__/auto-cleanup.test.tsx":"3","/Users/maciej/Development/OpenSource/react-native-testing-library/src/__tests__/cleanup.test.tsx":"4","/Users/maciej/Development/OpenSource/react-native-testing-library/src/__tests__/config.test.ts":"5","/Users/maciej/Development/OpenSource/react-native-testing-library/src/__tests__/fireEvent-textInput.test.tsx":"6","/Users/maciej/Development/OpenSource/react-native-testing-library/src/__tests__/fireEvent.test.tsx":"7","/Users/maciej/Development/OpenSource/react-native-testing-library/src/__tests__/host-component-names.test.tsx":"8","/Users/maciej/Development/OpenSource/react-native-testing-library/src/__tests__/host-text-nesting.test.tsx":"9","/Users/maciej/Development/OpenSource/react-native-testing-library/src/__tests__/jest-native.test.tsx":"10","/Users/maciej/Development/OpenSource/react-native-testing-library/src/__tests__/questionsBoard.test.tsx":"11","/Users/maciej/Development/OpenSource/react-native-testing-library/src/__tests__/react-native-api.test.tsx":"12","/Users/maciej/Development/OpenSource/react-native-testing-library/src/__tests__/render-debug.test.tsx":"13","/Users/maciej/Development/OpenSource/react-native-testing-library/src/__tests__/render-stringValidation.test.tsx":"14","/Users/maciej/Development/OpenSource/react-native-testing-library/src/__tests__/render.test.tsx":"15","/Users/maciej/Development/OpenSource/react-native-testing-library/src/__tests__/renderHook.test.tsx":"16","/Users/maciej/Development/OpenSource/react-native-testing-library/src/__tests__/screen.test.tsx":"17","/Users/maciej/Development/OpenSource/react-native-testing-library/src/__tests__/timerUtils.ts":"18","/Users/maciej/Development/OpenSource/react-native-testing-library/src/__tests__/timers.test.ts":"19","/Users/maciej/Development/OpenSource/react-native-testing-library/src/__tests__/waitFor.test.tsx":"20","/Users/maciej/Development/OpenSource/react-native-testing-library/src/__tests__/waitForElementToBeRemoved.test.tsx":"21","/Users/maciej/Development/OpenSource/react-native-testing-library/src/__tests__/within.test.tsx":"22","/Users/maciej/Development/OpenSource/react-native-testing-library/src/act.ts":"23","/Users/maciej/Development/OpenSource/react-native-testing-library/src/cleanup.ts":"24","/Users/maciej/Development/OpenSource/react-native-testing-library/src/config.ts":"25","/Users/maciej/Development/OpenSource/react-native-testing-library/src/fireEvent.ts":"26","/Users/maciej/Development/OpenSource/react-native-testing-library/src/helpers/__tests__/accessiblity.test.tsx":"27","/Users/maciej/Development/OpenSource/react-native-testing-library/src/helpers/__tests__/component-tree.test.tsx":"28","/Users/maciej/Development/OpenSource/react-native-testing-library/src/helpers/__tests__/format-default.tsx":"29","/Users/maciej/Development/OpenSource/react-native-testing-library/src/helpers/__tests__/getTextContent.test.tsx":"30","/Users/maciej/Development/OpenSource/react-native-testing-library/src/helpers/__tests__/includeHiddenElements.test.tsx":"31","/Users/maciej/Development/OpenSource/react-native-testing-library/src/helpers/__tests__/query-name.test.ts":"32","/Users/maciej/Development/OpenSource/react-native-testing-library/src/helpers/__tests__/timers.test.ts":"33","/Users/maciej/Development/OpenSource/react-native-testing-library/src/helpers/accessiblity.ts":"34","/Users/maciej/Development/OpenSource/react-native-testing-library/src/helpers/component-tree.ts":"35","/Users/maciej/Development/OpenSource/react-native-testing-library/src/helpers/debugDeep.ts":"36","/Users/maciej/Development/OpenSource/react-native-testing-library/src/helpers/debugShallow.ts":"37","/Users/maciej/Development/OpenSource/react-native-testing-library/src/helpers/deprecation.ts":"38","/Users/maciej/Development/OpenSource/react-native-testing-library/src/helpers/errors.ts":"39","/Users/maciej/Development/OpenSource/react-native-testing-library/src/helpers/filterNodeByType.ts":"40","/Users/maciej/Development/OpenSource/react-native-testing-library/src/helpers/findAll.ts":"41","/Users/maciej/Development/OpenSource/react-native-testing-library/src/helpers/format-default.ts":"42","/Users/maciej/Development/OpenSource/react-native-testing-library/src/helpers/format.ts":"43","/Users/maciej/Development/OpenSource/react-native-testing-library/src/helpers/getTextContent.ts":"44","/Users/maciej/Development/OpenSource/react-native-testing-library/src/helpers/host-component-names.tsx":"45","/Users/maciej/Development/OpenSource/react-native-testing-library/src/helpers/matchers/__tests__/matchArrayValue.test.ts":"46","/Users/maciej/Development/OpenSource/react-native-testing-library/src/helpers/matchers/__tests__/matchObject.test.ts":"47","/Users/maciej/Development/OpenSource/react-native-testing-library/src/helpers/matchers/__tests__/matchStringValue.test.ts":"48","/Users/maciej/Development/OpenSource/react-native-testing-library/src/helpers/matchers/accessibilityState.ts":"49","/Users/maciej/Development/OpenSource/react-native-testing-library/src/helpers/matchers/accessibilityValue.ts":"50","/Users/maciej/Development/OpenSource/react-native-testing-library/src/helpers/matchers/matchArrayProp.ts":"51","/Users/maciej/Development/OpenSource/react-native-testing-library/src/helpers/matchers/matchLabelText.ts":"52","/Users/maciej/Development/OpenSource/react-native-testing-library/src/helpers/matchers/matchObjectProp.ts":"53","/Users/maciej/Development/OpenSource/react-native-testing-library/src/helpers/matchers/matchStringProp.ts":"54","/Users/maciej/Development/OpenSource/react-native-testing-library/src/helpers/matchers/matchTextContent.ts":"55","/Users/maciej/Development/OpenSource/react-native-testing-library/src/helpers/query-name.ts":"56","/Users/maciej/Development/OpenSource/react-native-testing-library/src/helpers/stringValidation.ts":"57","/Users/maciej/Development/OpenSource/react-native-testing-library/src/helpers/timers.ts":"58","/Users/maciej/Development/OpenSource/react-native-testing-library/src/index.ts":"59","/Users/maciej/Development/OpenSource/react-native-testing-library/src/matches.ts":"60","/Users/maciej/Development/OpenSource/react-native-testing-library/src/pure.ts":"61","/Users/maciej/Development/OpenSource/react-native-testing-library/src/queries/__tests__/a11yState.test.tsx":"62","/Users/maciej/Development/OpenSource/react-native-testing-library/src/queries/__tests__/a11yValue.test.tsx":"63","/Users/maciej/Development/OpenSource/react-native-testing-library/src/queries/__tests__/displayValue.test.tsx":"64","/Users/maciej/Development/OpenSource/react-native-testing-library/src/queries/__tests__/hintText.test.tsx":"65","/Users/maciej/Development/OpenSource/react-native-testing-library/src/queries/__tests__/labelText.test.tsx":"66","/Users/maciej/Development/OpenSource/react-native-testing-library/src/queries/__tests__/makeQueries.test.tsx":"67","/Users/maciej/Development/OpenSource/react-native-testing-library/src/queries/__tests__/placeholderText.test.tsx":"68","/Users/maciej/Development/OpenSource/react-native-testing-library/src/queries/__tests__/role-value.test.tsx":"69","/Users/maciej/Development/OpenSource/react-native-testing-library/src/queries/__tests__/role.test.tsx":"70","/Users/maciej/Development/OpenSource/react-native-testing-library/src/queries/__tests__/testId.test.tsx":"71","/Users/maciej/Development/OpenSource/react-native-testing-library/src/queries/__tests__/text.test.tsx":"72","/Users/maciej/Development/OpenSource/react-native-testing-library/src/queries/a11yState.ts":"73","/Users/maciej/Development/OpenSource/react-native-testing-library/src/queries/a11yValue.ts":"74","/Users/maciej/Development/OpenSource/react-native-testing-library/src/queries/displayValue.ts":"75","/Users/maciej/Development/OpenSource/react-native-testing-library/src/queries/hintText.ts":"76","/Users/maciej/Development/OpenSource/react-native-testing-library/src/queries/labelText.ts":"77","/Users/maciej/Development/OpenSource/react-native-testing-library/src/queries/makeQueries.ts":"78","/Users/maciej/Development/OpenSource/react-native-testing-library/src/queries/options.ts":"79","/Users/maciej/Development/OpenSource/react-native-testing-library/src/queries/placeholderText.ts":"80","/Users/maciej/Development/OpenSource/react-native-testing-library/src/queries/role.ts":"81","/Users/maciej/Development/OpenSource/react-native-testing-library/src/queries/testId.ts":"82","/Users/maciej/Development/OpenSource/react-native-testing-library/src/queries/text.ts":"83","/Users/maciej/Development/OpenSource/react-native-testing-library/src/queries/unsafeProps.ts":"84","/Users/maciej/Development/OpenSource/react-native-testing-library/src/queries/unsafeType.ts":"85","/Users/maciej/Development/OpenSource/react-native-testing-library/src/react-versions.ts":"86","/Users/maciej/Development/OpenSource/react-native-testing-library/src/render-act.ts":"87","/Users/maciej/Development/OpenSource/react-native-testing-library/src/render.tsx":"88","/Users/maciej/Development/OpenSource/react-native-testing-library/src/renderHook.tsx":"89","/Users/maciej/Development/OpenSource/react-native-testing-library/src/screen.ts":"90","/Users/maciej/Development/OpenSource/react-native-testing-library/src/shallow.ts":"91","/Users/maciej/Development/OpenSource/react-native-testing-library/src/waitFor.ts":"92","/Users/maciej/Development/OpenSource/react-native-testing-library/src/waitForElementToBeRemoved.ts":"93","/Users/maciej/Development/OpenSource/react-native-testing-library/src/within.ts":"94","/Users/maciej/Development/OpenSource/react-native-testing-library/src/test-utils/events.ts":"95","/Users/maciej/Development/OpenSource/react-native-testing-library/src/test-utils/index.ts":"96","/Users/maciej/Development/OpenSource/react-native-testing-library/src/user-event/event-builder/common.ts":"97","/Users/maciej/Development/OpenSource/react-native-testing-library/src/user-event/event-builder/index.ts":"98","/Users/maciej/Development/OpenSource/react-native-testing-library/src/user-event/index.ts":"99","/Users/maciej/Development/OpenSource/react-native-testing-library/src/user-event/press/__tests__/press.test.tsx":"100","/Users/maciej/Development/OpenSource/react-native-testing-library/src/user-event/press/index.ts":"101","/Users/maciej/Development/OpenSource/react-native-testing-library/src/user-event/press/press.ts":"102","/Users/maciej/Development/OpenSource/react-native-testing-library/src/user-event/setup/index.ts":"103","/Users/maciej/Development/OpenSource/react-native-testing-library/src/user-event/setup/setup.ts":"104","/Users/maciej/Development/OpenSource/react-native-testing-library/src/user-event/type/__tests__/type.test.tsx":"105","/Users/maciej/Development/OpenSource/react-native-testing-library/src/user-event/type/index.ts":"106","/Users/maciej/Development/OpenSource/react-native-testing-library/src/user-event/type/type.ts":"107","/Users/maciej/Development/OpenSource/react-native-testing-library/src/user-event/utils/__tests__/wait.test.ts":"108","/Users/maciej/Development/OpenSource/react-native-testing-library/src/user-event/utils/index.ts":"109","/Users/maciej/Development/OpenSource/react-native-testing-library/src/user-event/utils/wait.ts":"110","/Users/maciej/Development/OpenSource/react-native-testing-library/src/flush-micro-tasks.ts":"111","/Users/maciej/Development/OpenSource/react-native-testing-library/src/helpers/pointer-events.ts":"112","/Users/maciej/Development/OpenSource/react-native-testing-library/src/user-event/__tests__/clear.test.tsx":"113","/Users/maciej/Development/OpenSource/react-native-testing-library/src/user-event/clear.ts":"114","/Users/maciej/Development/OpenSource/react-native-testing-library/src/user-event/event-builder/text-input.ts":"115","/Users/maciej/Development/OpenSource/react-native-testing-library/src/user-event/press/__tests__/longPress.real-timers.test.tsx":"116","/Users/maciej/Development/OpenSource/react-native-testing-library/src/user-event/press/__tests__/longPress.test.tsx":"117","/Users/maciej/Development/OpenSource/react-native-testing-library/src/user-event/press/__tests__/press.real-timers.test.tsx":"118","/Users/maciej/Development/OpenSource/react-native-testing-library/src/user-event/press/constants.ts":"119","/Users/maciej/Development/OpenSource/react-native-testing-library/src/user-event/type/__tests__/parseKeys.test.ts":"120","/Users/maciej/Development/OpenSource/react-native-testing-library/src/user-event/type/__tests__/type-managed.test.tsx":"121","/Users/maciej/Development/OpenSource/react-native-testing-library/src/user-event/type/parseKeys.ts":"122","/Users/maciej/Development/OpenSource/react-native-testing-library/src/user-event/utils/__tests__/dispatch-event.test.tsx":"123","/Users/maciej/Development/OpenSource/react-native-testing-library/src/user-event/utils/content-size.ts":"124","/Users/maciej/Development/OpenSource/react-native-testing-library/src/user-event/utils/dispatch-event.ts":"125","/Users/maciej/Development/OpenSource/react-native-testing-library/src/user-event/utils/host-components.ts":"126","/Users/maciej/Development/OpenSource/react-native-testing-library/src/user-event/utils/text-range.ts":"127","/Users/maciej/Development/OpenSource/react-native-testing-library/src/user-event/utils/warn-about-real-timers.ts":"128"},{"size":1662,"mtime":1691481870311,"results":"129","hashOfConfig":"130"},{"size":996,"mtime":1677663898548,"results":"131","hashOfConfig":"130"},{"size":1216,"mtime":1677663898548,"results":"132","hashOfConfig":"130"},{"size":571,"mtime":1677663898548,"results":"133","hashOfConfig":"130"},{"size":1630,"mtime":1690192078094,"results":"134","hashOfConfig":"130"},{"size":4895,"mtime":1690192078094,"results":"135","hashOfConfig":"130"},{"size":13202,"mtime":1690192078094,"results":"136","hashOfConfig":"130"},{"size":3219,"mtime":1690192078095,"results":"137","hashOfConfig":"130"},{"size":2759,"mtime":1677663898557,"results":"138","hashOfConfig":"130"},{"size":3138,"mtime":1689940817471,"results":"139","hashOfConfig":"130"},{"size":1537,"mtime":1677663898561,"results":"140","hashOfConfig":"130"},{"size":2829,"mtime":1690192078095,"results":"141","hashOfConfig":"130"},{"size":6000,"mtime":1690192078096,"results":"142","hashOfConfig":"130"},{"size":4499,"mtime":1677663898562,"results":"143","hashOfConfig":"130"},{"size":7343,"mtime":1691481870312,"results":"144","hashOfConfig":"130"},{"size":2817,"mtime":1691481870313,"results":"145","hashOfConfig":"130"},{"size":2017,"mtime":1690192078097,"results":"146","hashOfConfig":"130"},{"size":180,"mtime":1677663898569,"results":"147","hashOfConfig":"130"},{"size":632,"mtime":1677663898569,"results":"148","hashOfConfig":"130"},{"size":9332,"mtime":1690192078097,"results":"149","hashOfConfig":"130"},{"size":4400,"mtime":1677663898570,"results":"150","hashOfConfig":"130"},{"size":3763,"mtime":1690192078097,"results":"151","hashOfConfig":"130"},{"size":3016,"mtime":1690192078098,"results":"152","hashOfConfig":"130"},{"size":406,"mtime":1677663898573,"results":"153","hashOfConfig":"130"},{"size":1644,"mtime":1690192078098,"results":"154","hashOfConfig":"130"},{"size":4173,"mtime":1691481870313,"results":"155","hashOfConfig":"130"},{"size":10133,"mtime":1690192078099,"results":"156","hashOfConfig":"130"},{"size":6627,"mtime":1690192078100,"results":"157","hashOfConfig":"130"},{"size":3373,"mtime":1690192078100,"results":"158","hashOfConfig":"130"},{"size":1303,"mtime":1690192078100,"results":"159","hashOfConfig":"130"},{"size":1844,"mtime":1677663898577,"results":"160","hashOfConfig":"130"},{"size":489,"mtime":1690192078101,"results":"161","hashOfConfig":"130"},{"size":321,"mtime":1677663898580,"results":"162","hashOfConfig":"130"},{"size":2851,"mtime":1691481870314,"results":"163","hashOfConfig":"130"},{"size":2193,"mtime":1690549641863,"results":"164","hashOfConfig":"130"},{"size":798,"mtime":1677663898584,"results":"165","hashOfConfig":"130"},{"size":605,"mtime":1677663898584,"results":"166","hashOfConfig":"130"},{"size":1526,"mtime":1691481870315,"results":"167","hashOfConfig":"130"},{"size":1854,"mtime":1690192078102,"results":"168","hashOfConfig":"130"},{"size":237,"mtime":1677663898590,"results":"169","hashOfConfig":"130"},{"size":2069,"mtime":1690549641864,"results":"170","hashOfConfig":"130"},{"size":1806,"mtime":1690192078102,"results":"171","hashOfConfig":"130"},{"size":1213,"mtime":1690192078103,"results":"172","hashOfConfig":"130"},{"size":399,"mtime":1677663898590,"results":"173","hashOfConfig":"130"},{"size":2439,"mtime":1691481870315,"results":"174","hashOfConfig":"130"},{"size":1070,"mtime":1677663898592,"results":"175","hashOfConfig":"130"},{"size":1077,"mtime":1677663898592,"results":"176","hashOfConfig":"130"},{"size":498,"mtime":1677663898592,"results":"177","hashOfConfig":"130"},{"size":1449,"mtime":1690192078104,"results":"178","hashOfConfig":"130"},{"size":800,"mtime":1677663898593,"results":"179","hashOfConfig":"130"},{"size":591,"mtime":1677663898593,"results":"180","hashOfConfig":"130"},{"size":1197,"mtime":1690549641866,"results":"181","hashOfConfig":"130"},{"size":728,"mtime":1677663898595,"results":"182","hashOfConfig":"130"},{"size":533,"mtime":1677663898595,"results":"183","hashOfConfig":"130"},{"size":715,"mtime":1690192078104,"results":"184","hashOfConfig":"130"},{"size":112,"mtime":1690192078105,"results":"185","hashOfConfig":"130"},{"size":991,"mtime":1677663898602,"results":"186","hashOfConfig":"130"},{"size":2717,"mtime":1677663898602,"results":"187","hashOfConfig":"130"},{"size":1180,"mtime":1691481870316,"results":"188","hashOfConfig":"130"},{"size":1317,"mtime":1677663898605,"results":"189","hashOfConfig":"130"},{"size":969,"mtime":1691481870316,"results":"190","hashOfConfig":"130"},{"size":15257,"mtime":1690192078106,"results":"191","hashOfConfig":"130"},{"size":10150,"mtime":1690192078107,"results":"192","hashOfConfig":"130"},{"size":6297,"mtime":1690192078107,"results":"193","hashOfConfig":"130"},{"size":5287,"mtime":1690192078107,"results":"194","hashOfConfig":"130"},{"size":7386,"mtime":1690192078108,"results":"195","hashOfConfig":"130"},{"size":6506,"mtime":1690192078108,"results":"196","hashOfConfig":"130"},{"size":3989,"mtime":1690192078108,"results":"197","hashOfConfig":"130"},{"size":4885,"mtime":1690192078109,"results":"198","hashOfConfig":"130"},{"size":25393,"mtime":1690192078109,"results":"199","hashOfConfig":"130"},{"size":6115,"mtime":1690192078110,"results":"200","hashOfConfig":"130"},{"size":15245,"mtime":1690192078110,"results":"201","hashOfConfig":"130"},{"size":3988,"mtime":1690549641867,"results":"202","hashOfConfig":"130"},{"size":3956,"mtime":1690549641868,"results":"203","hashOfConfig":"130"},{"size":2660,"mtime":1690549641869,"results":"204","hashOfConfig":"130"},{"size":3866,"mtime":1690549641869,"results":"205","hashOfConfig":"130"},{"size":2024,"mtime":1690549641869,"results":"206","hashOfConfig":"130"},{"size":7318,"mtime":1690548075743,"results":"207","hashOfConfig":"130"},{"size":348,"mtime":1677663898635,"results":"208","hashOfConfig":"130"},{"size":2666,"mtime":1690549641870,"results":"209","hashOfConfig":"130"},{"size":4009,"mtime":1690549641870,"results":"210","hashOfConfig":"130"},{"size":2155,"mtime":1690549641871,"results":"211","hashOfConfig":"130"},{"size":2121,"mtime":1690549641871,"results":"212","hashOfConfig":"130"},{"size":2448,"mtime":1677663898642,"results":"213","hashOfConfig":"130"},{"size":2324,"mtime":1689608769805,"results":"214","hashOfConfig":"130"},{"size":329,"mtime":1677663898710,"results":"215","hashOfConfig":"130"},{"size":479,"mtime":1690192078117,"results":"216","hashOfConfig":"130"},{"size":5132,"mtime":1691481870317,"results":"217","hashOfConfig":"130"},{"size":1506,"mtime":1691481870317,"results":"218","hashOfConfig":"130"},{"size":4154,"mtime":1690192078118,"results":"219","hashOfConfig":"130"},{"size":576,"mtime":1689608777027,"results":"220","hashOfConfig":"130"},{"size":7865,"mtime":1691481870326,"results":"221","hashOfConfig":"130"},{"size":1174,"mtime":1677663898717,"results":"222","hashOfConfig":"130"},{"size":1307,"mtime":1689940896394,"results":"223","hashOfConfig":"130"},{"size":468,"mtime":1691481870318,"results":"224","hashOfConfig":"130"},{"size":26,"mtime":1690192078118,"results":"225","hashOfConfig":"130"},{"size":1575,"mtime":1691481870318,"results":"226","hashOfConfig":"130"},{"size":201,"mtime":1691481870318,"results":"227","hashOfConfig":"130"},{"size":664,"mtime":1691487522332,"results":"228","hashOfConfig":"130"},{"size":12006,"mtime":1691481870320,"results":"229","hashOfConfig":"130"},{"size":58,"mtime":1691481870321,"results":"230","hashOfConfig":"130"},{"size":4282,"mtime":1691481870321,"results":"231","hashOfConfig":"130"},{"size":100,"mtime":1690192078122,"results":"232","hashOfConfig":"130"},{"size":4051,"mtime":1691487522333,"results":"233","hashOfConfig":"130"},{"size":8524,"mtime":1691488705141,"results":"234","hashOfConfig":"130"},{"size":44,"mtime":1691481870323,"results":"235","hashOfConfig":"130"},{"size":3719,"mtime":1691488705141,"results":"236","hashOfConfig":"130"},{"size":1987,"mtime":1691487522335,"results":"237","hashOfConfig":"130"},{"size":197,"mtime":1691488045945,"results":"238","hashOfConfig":"130"},{"size":372,"mtime":1691481870325,"results":"239","hashOfConfig":"130"},{"size":953,"mtime":1691481870314,"results":"240","hashOfConfig":"130"},{"size":1041,"mtime":1691481870315,"results":"241","hashOfConfig":"130"},{"size":5924,"mtime":1691488555440,"results":"242","hashOfConfig":"130"},{"size":1779,"mtime":1691488079261,"results":"243","hashOfConfig":"130"},{"size":2300,"mtime":1691481870319,"results":"244","hashOfConfig":"130"},{"size":3426,"mtime":1691481870319,"results":"245","hashOfConfig":"130"},{"size":4178,"mtime":1691481870320,"results":"246","hashOfConfig":"130"},{"size":8790,"mtime":1691481870320,"results":"247","hashOfConfig":"130"},{"size":279,"mtime":1691481870321,"results":"248","hashOfConfig":"130"},{"size":1019,"mtime":1691481870323,"results":"249","hashOfConfig":"130"},{"size":3109,"mtime":1691487522333,"results":"250","hashOfConfig":"130"},{"size":957,"mtime":1691481870324,"results":"251","hashOfConfig":"130"},{"size":1161,"mtime":1691481870324,"results":"252","hashOfConfig":"130"},{"size":666,"mtime":1691481870324,"results":"253","hashOfConfig":"130"},{"size":896,"mtime":1691481870325,"results":"254","hashOfConfig":"130"},{"size":476,"mtime":1691487834599,"results":"255","hashOfConfig":"130"},{"size":63,"mtime":1691487522335,"results":"256","hashOfConfig":"130"},{"size":486,"mtime":1691481870326,"results":"257","hashOfConfig":"130"},{"filePath":"258","messages":"259","suppressedMessages":"260","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"aspgqp",{"filePath":"261","messages":"262","suppressedMessages":"263","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"264","messages":"265","suppressedMessages":"266","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"267","messages":"268","suppressedMessages":"269","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"270","messages":"271","suppressedMessages":"272","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"273","messages":"274","suppressedMessages":"275","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"276","messages":"277","suppressedMessages":"278","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"279","messages":"280","suppressedMessages":"281","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"282","messages":"283","suppressedMessages":"284","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"285","messages":"286","suppressedMessages":"287","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"288","messages":"289","suppressedMessages":"290","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"291","messages":"292","suppressedMessages":"293","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"294","messages":"295","suppressedMessages":"296","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"297","messages":"298","suppressedMessages":"299","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"300","messages":"301","suppressedMessages":"302","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"303","messages":"304","suppressedMessages":"305","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"306","messages":"307","suppressedMessages":"308","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"309","messages":"310","suppressedMessages":"311","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"312","messages":"313","suppressedMessages":"314","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"315","messages":"316","suppressedMessages":"317","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"318","messages":"319","suppressedMessages":"320","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"321","messages":"322","suppressedMessages":"323","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"324","messages":"325","suppressedMessages":"326","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"327","messages":"328","suppressedMessages":"329","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"330","messages":"331","suppressedMessages":"332","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"333","messages":"334","suppressedMessages":"335","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"336","messages":"337","suppressedMessages":"338","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"339","messages":"340","suppressedMessages":"341","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"342","messages":"343","suppressedMessages":"344","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"345","messages":"346","suppressedMessages":"347","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"348","messages":"349","suppressedMessages":"350","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"351","messages":"352","suppressedMessages":"353","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"354","messages":"355","suppressedMessages":"356","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"357","messages":"358","suppressedMessages":"359","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"360","messages":"361","suppressedMessages":"362","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"363","messages":"364","suppressedMessages":"365","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"366","messages":"367","suppressedMessages":"368","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"369","messages":"370","suppressedMessages":"371","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"372","messages":"373","suppressedMessages":"374","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"375","messages":"376","suppressedMessages":"377","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"378","messages":"379","suppressedMessages":"380","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"381","messages":"382","suppressedMessages":"383","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"384","messages":"385","suppressedMessages":"386","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"387","messages":"388","suppressedMessages":"389","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"390","messages":"391","suppressedMessages":"392","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"393","messages":"394","suppressedMessages":"395","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"396","messages":"397","suppressedMessages":"398","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"399","messages":"400","suppressedMessages":"401","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"402","messages":"403","suppressedMessages":"404","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"405","messages":"406","suppressedMessages":"407","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"408","messages":"409","suppressedMessages":"410","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"411","messages":"412","suppressedMessages":"413","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"414","messages":"415","suppressedMessages":"416","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"417","messages":"418","suppressedMessages":"419","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"420","messages":"421","suppressedMessages":"422","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"423","messages":"424","suppressedMessages":"425","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"426","messages":"427","suppressedMessages":"428","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"429","messages":"430","suppressedMessages":"431","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"432","messages":"433","suppressedMessages":"434","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"435","messages":"436","suppressedMessages":"437","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"438","messages":"439","suppressedMessages":"440","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"441","messages":"442","suppressedMessages":"443","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"444","messages":"445","suppressedMessages":"446","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"447","messages":"448","suppressedMessages":"449","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"450","messages":"451","suppressedMessages":"452","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"453","messages":"454","suppressedMessages":"455","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"456","messages":"457","suppressedMessages":"458","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"459","messages":"460","suppressedMessages":"461","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"462","messages":"463","suppressedMessages":"464","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"465","messages":"466","suppressedMessages":"467","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"468","messages":"469","suppressedMessages":"470","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"471","messages":"472","suppressedMessages":"473","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"474","messages":"475","suppressedMessages":"476","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"477","messages":"478","suppressedMessages":"479","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"480","messages":"481","suppressedMessages":"482","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"483","messages":"484","suppressedMessages":"485","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"486","messages":"487","suppressedMessages":"488","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"489","messages":"490","suppressedMessages":"491","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"492","messages":"493","suppressedMessages":"494","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"495","messages":"496","suppressedMessages":"497","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"498","messages":"499","suppressedMessages":"500","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"501","messages":"502","suppressedMessages":"503","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"504","messages":"505","suppressedMessages":"506","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"507","messages":"508","suppressedMessages":"509","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"510","messages":"511","suppressedMessages":"512","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"513","messages":"514","suppressedMessages":"515","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"516","messages":"517","suppressedMessages":"518","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"519","messages":"520","suppressedMessages":"521","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"522","messages":"523","suppressedMessages":"524","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"525","messages":"526","suppressedMessages":"527","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"528","messages":"529","suppressedMessages":"530","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"531","messages":"532","suppressedMessages":"533","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"534","messages":"535","suppressedMessages":"536","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"537","messages":"538","suppressedMessages":"539","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"540","messages":"541","suppressedMessages":"542","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"543","messages":"544","suppressedMessages":"545","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"546","messages":"547","suppressedMessages":"548","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"549","messages":"550","suppressedMessages":"551","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"552","messages":"553","suppressedMessages":"554","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"555","messages":"556","suppressedMessages":"557","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"558","messages":"559","suppressedMessages":"560","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"561","messages":"562","suppressedMessages":"563","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"564","messages":"565","suppressedMessages":"566","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"567","messages":"568","suppressedMessages":"569","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"570","messages":"571","suppressedMessages":"572","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"573","messages":"574","suppressedMessages":"575","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"576","messages":"577","suppressedMessages":"578","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"579","messages":"580","suppressedMessages":"581","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"582","messages":"583","suppressedMessages":"584","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"585","messages":"586","suppressedMessages":"587","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"588","messages":"589","suppressedMessages":"590","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"591","messages":"592","suppressedMessages":"593","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"594","messages":"595","suppressedMessages":"596","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"597","messages":"598","suppressedMessages":"599","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"600","messages":"601","suppressedMessages":"602","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"603","messages":"604","suppressedMessages":"605","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"606","messages":"607","suppressedMessages":"608","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"609","messages":"610","suppressedMessages":"611","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"612","messages":"613","suppressedMessages":"614","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"615","messages":"616","suppressedMessages":"617","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"618","messages":"619","suppressedMessages":"620","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"621","messages":"622","suppressedMessages":"623","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"624","messages":"625","suppressedMessages":"626","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"627","messages":"628","suppressedMessages":"629","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"630","messages":"631","suppressedMessages":"632","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"633","messages":"634","suppressedMessages":"635","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"636","messages":"637","suppressedMessages":"638","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"639","messages":"640","suppressedMessages":"641","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"/Users/maciej/Development/OpenSource/react-native-testing-library/src/__tests__/act.test.tsx",[],[],"/Users/maciej/Development/OpenSource/react-native-testing-library/src/__tests__/auto-cleanup-skip.test.tsx",[],[],"/Users/maciej/Development/OpenSource/react-native-testing-library/src/__tests__/auto-cleanup.test.tsx",[],[],"/Users/maciej/Development/OpenSource/react-native-testing-library/src/__tests__/cleanup.test.tsx",[],[],"/Users/maciej/Development/OpenSource/react-native-testing-library/src/__tests__/config.test.ts",[],[],"/Users/maciej/Development/OpenSource/react-native-testing-library/src/__tests__/fireEvent-textInput.test.tsx",[],[],"/Users/maciej/Development/OpenSource/react-native-testing-library/src/__tests__/fireEvent.test.tsx",[],[],"/Users/maciej/Development/OpenSource/react-native-testing-library/src/__tests__/host-component-names.test.tsx",[],[],"/Users/maciej/Development/OpenSource/react-native-testing-library/src/__tests__/host-text-nesting.test.tsx",[],[],"/Users/maciej/Development/OpenSource/react-native-testing-library/src/__tests__/jest-native.test.tsx",[],[],"/Users/maciej/Development/OpenSource/react-native-testing-library/src/__tests__/questionsBoard.test.tsx",[],[],"/Users/maciej/Development/OpenSource/react-native-testing-library/src/__tests__/react-native-api.test.tsx",[],[],"/Users/maciej/Development/OpenSource/react-native-testing-library/src/__tests__/render-debug.test.tsx",[],["642","643","644","645","646","647","648","649","650"],"/Users/maciej/Development/OpenSource/react-native-testing-library/src/__tests__/render-stringValidation.test.tsx",[],["651","652","653"],"/Users/maciej/Development/OpenSource/react-native-testing-library/src/__tests__/render.test.tsx",[],["654"],"/Users/maciej/Development/OpenSource/react-native-testing-library/src/__tests__/renderHook.test.tsx",[],[],"/Users/maciej/Development/OpenSource/react-native-testing-library/src/__tests__/screen.test.tsx",[],[],"/Users/maciej/Development/OpenSource/react-native-testing-library/src/__tests__/timerUtils.ts",[],[],"/Users/maciej/Development/OpenSource/react-native-testing-library/src/__tests__/timers.test.ts",[],[],"/Users/maciej/Development/OpenSource/react-native-testing-library/src/__tests__/waitFor.test.tsx",[],["655","656"],"/Users/maciej/Development/OpenSource/react-native-testing-library/src/__tests__/waitForElementToBeRemoved.test.tsx",[],[],"/Users/maciej/Development/OpenSource/react-native-testing-library/src/__tests__/within.test.tsx",[],[],"/Users/maciej/Development/OpenSource/react-native-testing-library/src/act.ts",[],["657","658","659"],"/Users/maciej/Development/OpenSource/react-native-testing-library/src/cleanup.ts",[],[],"/Users/maciej/Development/OpenSource/react-native-testing-library/src/config.ts",[],[],"/Users/maciej/Development/OpenSource/react-native-testing-library/src/fireEvent.ts",[],[],"/Users/maciej/Development/OpenSource/react-native-testing-library/src/helpers/__tests__/accessiblity.test.tsx",[],[],"/Users/maciej/Development/OpenSource/react-native-testing-library/src/helpers/__tests__/component-tree.test.tsx",[],[],"/Users/maciej/Development/OpenSource/react-native-testing-library/src/helpers/__tests__/format-default.tsx",[],[],"/Users/maciej/Development/OpenSource/react-native-testing-library/src/helpers/__tests__/getTextContent.test.tsx",[],[],"/Users/maciej/Development/OpenSource/react-native-testing-library/src/helpers/__tests__/includeHiddenElements.test.tsx",[],[],"/Users/maciej/Development/OpenSource/react-native-testing-library/src/helpers/__tests__/query-name.test.ts",[],[],"/Users/maciej/Development/OpenSource/react-native-testing-library/src/helpers/__tests__/timers.test.ts",[],[],"/Users/maciej/Development/OpenSource/react-native-testing-library/src/helpers/accessiblity.ts",[],[],"/Users/maciej/Development/OpenSource/react-native-testing-library/src/helpers/component-tree.ts",[],[],"/Users/maciej/Development/OpenSource/react-native-testing-library/src/helpers/debugDeep.ts",[],["660","661"],"/Users/maciej/Development/OpenSource/react-native-testing-library/src/helpers/debugShallow.ts",[],["662","663"],"/Users/maciej/Development/OpenSource/react-native-testing-library/src/helpers/deprecation.ts",[],["664","665"],"/Users/maciej/Development/OpenSource/react-native-testing-library/src/helpers/errors.ts",[],[],"/Users/maciej/Development/OpenSource/react-native-testing-library/src/helpers/filterNodeByType.ts",[],[],"/Users/maciej/Development/OpenSource/react-native-testing-library/src/helpers/findAll.ts",[],[],"/Users/maciej/Development/OpenSource/react-native-testing-library/src/helpers/format-default.ts",[],[],"/Users/maciej/Development/OpenSource/react-native-testing-library/src/helpers/format.ts",[],[],"/Users/maciej/Development/OpenSource/react-native-testing-library/src/helpers/getTextContent.ts",[],[],"/Users/maciej/Development/OpenSource/react-native-testing-library/src/helpers/host-component-names.tsx",[],[],"/Users/maciej/Development/OpenSource/react-native-testing-library/src/helpers/matchers/__tests__/matchArrayValue.test.ts",[],[],"/Users/maciej/Development/OpenSource/react-native-testing-library/src/helpers/matchers/__tests__/matchObject.test.ts",[],[],"/Users/maciej/Development/OpenSource/react-native-testing-library/src/helpers/matchers/__tests__/matchStringValue.test.ts",[],[],"/Users/maciej/Development/OpenSource/react-native-testing-library/src/helpers/matchers/accessibilityState.ts",[],[],"/Users/maciej/Development/OpenSource/react-native-testing-library/src/helpers/matchers/accessibilityValue.ts",[],[],"/Users/maciej/Development/OpenSource/react-native-testing-library/src/helpers/matchers/matchArrayProp.ts",[],[],"/Users/maciej/Development/OpenSource/react-native-testing-library/src/helpers/matchers/matchLabelText.ts",[],[],"/Users/maciej/Development/OpenSource/react-native-testing-library/src/helpers/matchers/matchObjectProp.ts",[],[],"/Users/maciej/Development/OpenSource/react-native-testing-library/src/helpers/matchers/matchStringProp.ts",[],[],"/Users/maciej/Development/OpenSource/react-native-testing-library/src/helpers/matchers/matchTextContent.ts",[],[],"/Users/maciej/Development/OpenSource/react-native-testing-library/src/helpers/query-name.ts",[],[],"/Users/maciej/Development/OpenSource/react-native-testing-library/src/helpers/stringValidation.ts",[],[],"/Users/maciej/Development/OpenSource/react-native-testing-library/src/helpers/timers.ts",[],[],"/Users/maciej/Development/OpenSource/react-native-testing-library/src/index.ts",[],[],"/Users/maciej/Development/OpenSource/react-native-testing-library/src/matches.ts",[],[],"/Users/maciej/Development/OpenSource/react-native-testing-library/src/pure.ts",[],[],"/Users/maciej/Development/OpenSource/react-native-testing-library/src/queries/__tests__/a11yState.test.tsx",[],["666","667"],"/Users/maciej/Development/OpenSource/react-native-testing-library/src/queries/__tests__/a11yValue.test.tsx",[],["668","669"],"/Users/maciej/Development/OpenSource/react-native-testing-library/src/queries/__tests__/displayValue.test.tsx",[],[],"/Users/maciej/Development/OpenSource/react-native-testing-library/src/queries/__tests__/hintText.test.tsx",[],[],"/Users/maciej/Development/OpenSource/react-native-testing-library/src/queries/__tests__/labelText.test.tsx",[],[],"/Users/maciej/Development/OpenSource/react-native-testing-library/src/queries/__tests__/makeQueries.test.tsx",[],[],"/Users/maciej/Development/OpenSource/react-native-testing-library/src/queries/__tests__/placeholderText.test.tsx",[],[],"/Users/maciej/Development/OpenSource/react-native-testing-library/src/queries/__tests__/role-value.test.tsx",[],[],"/Users/maciej/Development/OpenSource/react-native-testing-library/src/queries/__tests__/role.test.tsx",[],[],"/Users/maciej/Development/OpenSource/react-native-testing-library/src/queries/__tests__/testId.test.tsx",[],[],"/Users/maciej/Development/OpenSource/react-native-testing-library/src/queries/__tests__/text.test.tsx",[],[],"/Users/maciej/Development/OpenSource/react-native-testing-library/src/queries/a11yState.ts",[],[],"/Users/maciej/Development/OpenSource/react-native-testing-library/src/queries/a11yValue.ts",[],[],"/Users/maciej/Development/OpenSource/react-native-testing-library/src/queries/displayValue.ts",[],[],"/Users/maciej/Development/OpenSource/react-native-testing-library/src/queries/hintText.ts",[],[],"/Users/maciej/Development/OpenSource/react-native-testing-library/src/queries/labelText.ts",[],[],"/Users/maciej/Development/OpenSource/react-native-testing-library/src/queries/makeQueries.ts",[],["670"],"/Users/maciej/Development/OpenSource/react-native-testing-library/src/queries/options.ts",[],[],"/Users/maciej/Development/OpenSource/react-native-testing-library/src/queries/placeholderText.ts",[],[],"/Users/maciej/Development/OpenSource/react-native-testing-library/src/queries/role.ts",[],[],"/Users/maciej/Development/OpenSource/react-native-testing-library/src/queries/testId.ts",[],[],"/Users/maciej/Development/OpenSource/react-native-testing-library/src/queries/text.ts",[],[],"/Users/maciej/Development/OpenSource/react-native-testing-library/src/queries/unsafeProps.ts",[],[],"/Users/maciej/Development/OpenSource/react-native-testing-library/src/queries/unsafeType.ts",[],[],"/Users/maciej/Development/OpenSource/react-native-testing-library/src/react-versions.ts",[],[],"/Users/maciej/Development/OpenSource/react-native-testing-library/src/render-act.ts",[],[],"/Users/maciej/Development/OpenSource/react-native-testing-library/src/render.tsx",[],["671"],"/Users/maciej/Development/OpenSource/react-native-testing-library/src/renderHook.tsx",[],[],"/Users/maciej/Development/OpenSource/react-native-testing-library/src/screen.ts",[],[],"/Users/maciej/Development/OpenSource/react-native-testing-library/src/shallow.ts",[],[],"/Users/maciej/Development/OpenSource/react-native-testing-library/src/waitFor.ts",[],["672","673","674"],"/Users/maciej/Development/OpenSource/react-native-testing-library/src/waitForElementToBeRemoved.ts",[],[],"/Users/maciej/Development/OpenSource/react-native-testing-library/src/within.ts",[],[],"/Users/maciej/Development/OpenSource/react-native-testing-library/src/test-utils/events.ts",[],[],"/Users/maciej/Development/OpenSource/react-native-testing-library/src/test-utils/index.ts",[],[],"/Users/maciej/Development/OpenSource/react-native-testing-library/src/user-event/event-builder/common.ts",[],[],"/Users/maciej/Development/OpenSource/react-native-testing-library/src/user-event/event-builder/index.ts",[],[],"/Users/maciej/Development/OpenSource/react-native-testing-library/src/user-event/index.ts",[],[],"/Users/maciej/Development/OpenSource/react-native-testing-library/src/user-event/press/__tests__/press.test.tsx",[],[],"/Users/maciej/Development/OpenSource/react-native-testing-library/src/user-event/press/index.ts",[],[],"/Users/maciej/Development/OpenSource/react-native-testing-library/src/user-event/press/press.ts",[],[],"/Users/maciej/Development/OpenSource/react-native-testing-library/src/user-event/setup/index.ts",[],[],"/Users/maciej/Development/OpenSource/react-native-testing-library/src/user-event/setup/setup.ts",[],[],"/Users/maciej/Development/OpenSource/react-native-testing-library/src/user-event/type/__tests__/type.test.tsx",[],[],"/Users/maciej/Development/OpenSource/react-native-testing-library/src/user-event/type/index.ts",[],[],"/Users/maciej/Development/OpenSource/react-native-testing-library/src/user-event/type/type.ts",[],[],"/Users/maciej/Development/OpenSource/react-native-testing-library/src/user-event/utils/__tests__/wait.test.ts",[],[],"/Users/maciej/Development/OpenSource/react-native-testing-library/src/user-event/utils/index.ts",[],[],"/Users/maciej/Development/OpenSource/react-native-testing-library/src/user-event/utils/wait.ts",[],[],"/Users/maciej/Development/OpenSource/react-native-testing-library/src/flush-micro-tasks.ts",[],[],"/Users/maciej/Development/OpenSource/react-native-testing-library/src/helpers/pointer-events.ts",[],[],"/Users/maciej/Development/OpenSource/react-native-testing-library/src/user-event/__tests__/clear.test.tsx",[],[],"/Users/maciej/Development/OpenSource/react-native-testing-library/src/user-event/clear.ts",[],[],"/Users/maciej/Development/OpenSource/react-native-testing-library/src/user-event/event-builder/text-input.ts",[],[],"/Users/maciej/Development/OpenSource/react-native-testing-library/src/user-event/press/__tests__/longPress.real-timers.test.tsx",[],[],"/Users/maciej/Development/OpenSource/react-native-testing-library/src/user-event/press/__tests__/longPress.test.tsx",[],[],"/Users/maciej/Development/OpenSource/react-native-testing-library/src/user-event/press/__tests__/press.real-timers.test.tsx",[],[],"/Users/maciej/Development/OpenSource/react-native-testing-library/src/user-event/press/constants.ts",[],[],"/Users/maciej/Development/OpenSource/react-native-testing-library/src/user-event/type/__tests__/parseKeys.test.ts",[],[],"/Users/maciej/Development/OpenSource/react-native-testing-library/src/user-event/type/__tests__/type-managed.test.tsx",[],[],"/Users/maciej/Development/OpenSource/react-native-testing-library/src/user-event/type/parseKeys.ts",[],[],"/Users/maciej/Development/OpenSource/react-native-testing-library/src/user-event/utils/__tests__/dispatch-event.test.tsx",[],[],"/Users/maciej/Development/OpenSource/react-native-testing-library/src/user-event/utils/content-size.ts",[],[],"/Users/maciej/Development/OpenSource/react-native-testing-library/src/user-event/utils/dispatch-event.ts",[],[],"/Users/maciej/Development/OpenSource/react-native-testing-library/src/user-event/utils/host-components.ts",[],[],"/Users/maciej/Development/OpenSource/react-native-testing-library/src/user-event/utils/text-range.ts",[],[],"/Users/maciej/Development/OpenSource/react-native-testing-library/src/user-event/utils/warn-about-real-timers.ts",[],["675"],{"ruleId":"676","severity":1,"message":"677","line":18,"column":25,"nodeType":"678","messageId":"679","endLine":18,"endColumn":37,"suppressions":"680"},{"ruleId":"676","severity":1,"message":"677","line":107,"column":22,"nodeType":"678","messageId":"679","endLine":107,"endColumn":33,"suppressions":"681"},{"ruleId":"676","severity":1,"message":"677","line":120,"column":26,"nodeType":"678","messageId":"679","endLine":120,"endColumn":38,"suppressions":"682"},{"ruleId":"676","severity":1,"message":"677","line":132,"column":22,"nodeType":"678","messageId":"679","endLine":132,"endColumn":33,"suppressions":"683"},{"ruleId":"676","severity":1,"message":"677","line":142,"column":22,"nodeType":"678","messageId":"679","endLine":142,"endColumn":33,"suppressions":"684"},{"ruleId":"676","severity":1,"message":"677","line":160,"column":22,"nodeType":"678","messageId":"679","endLine":160,"endColumn":33,"suppressions":"685"},{"ruleId":"676","severity":1,"message":"677","line":170,"column":22,"nodeType":"678","messageId":"679","endLine":170,"endColumn":33,"suppressions":"686"},{"ruleId":"676","severity":1,"message":"677","line":184,"column":22,"nodeType":"678","messageId":"679","endLine":184,"endColumn":33,"suppressions":"687"},{"ruleId":"676","severity":1,"message":"677","line":205,"column":22,"nodeType":"678","messageId":"679","endLine":205,"endColumn":33,"suppressions":"688"},{"ruleId":"676","severity":1,"message":"677","line":6,"column":30,"nodeType":"678","messageId":"679","endLine":6,"endColumn":43,"suppressions":"689"},{"ruleId":"676","severity":1,"message":"677","line":14,"column":3,"nodeType":"678","messageId":"679","endLine":14,"endColumn":16,"suppressions":"690"},{"ruleId":"676","severity":1,"message":"677","line":23,"column":3,"nodeType":"678","messageId":"679","endLine":23,"endColumn":16,"suppressions":"691"},{"ruleId":"692","severity":2,"message":"693","line":246,"column":11,"nodeType":"694","messageId":"695","endLine":246,"endColumn":19,"suppressions":"696"},{"ruleId":"697","severity":2,"message":"698","line":285,"column":9,"nodeType":"699","messageId":"700","endLine":285,"endColumn":57,"suppressions":"701"},{"ruleId":"702","severity":1,"message":"703","line":285,"column":32,"nodeType":"694","endLine":285,"endColumn":36,"suppressions":"704"},{"ruleId":"697","severity":2,"message":"698","line":52,"column":13,"nodeType":"699","messageId":"700","endLine":62,"endColumn":15,"suppressions":"705"},{"ruleId":"702","severity":1,"message":"703","line":52,"column":22,"nodeType":"694","endLine":52,"endColumn":26,"suppressions":"706"},{"ruleId":"707","severity":2,"message":"708","line":54,"column":15,"nodeType":"709","endLine":57,"endColumn":16,"suppressions":"710"},{"ruleId":"676","severity":1,"message":"677","line":22,"column":5,"nodeType":"678","messageId":"679","endLine":22,"endColumn":16,"suppressions":"711"},{"ruleId":"676","severity":1,"message":"677","line":25,"column":5,"nodeType":"678","messageId":"679","endLine":25,"endColumn":16,"suppressions":"712"},{"ruleId":"676","severity":1,"message":"677","line":17,"column":5,"nodeType":"678","messageId":"679","endLine":17,"endColumn":16,"suppressions":"713"},{"ruleId":"676","severity":1,"message":"677","line":20,"column":5,"nodeType":"678","messageId":"679","endLine":20,"endColumn":16,"suppressions":"714"},{"ruleId":"676","severity":1,"message":"677","line":31,"column":5,"nodeType":"678","messageId":"679","endLine":31,"endColumn":17,"suppressions":"715"},{"ruleId":"676","severity":1,"message":"677","line":47,"column":3,"nodeType":"678","messageId":"679","endLine":47,"endColumn":15,"suppressions":"716"},{"ruleId":"676","severity":1,"message":"677","line":280,"column":22,"nodeType":"678","messageId":"679","endLine":280,"endColumn":34,"suppressions":"717"},{"ruleId":"676","severity":1,"message":"677","line":327,"column":22,"nodeType":"678","messageId":"679","endLine":327,"endColumn":34,"suppressions":"718"},{"ruleId":"676","severity":1,"message":"677","line":160,"column":22,"nodeType":"678","messageId":"679","endLine":160,"endColumn":34,"suppressions":"719"},{"ruleId":"676","severity":1,"message":"677","line":207,"column":22,"nodeType":"678","messageId":"679","endLine":207,"endColumn":34,"suppressions":"720"},{"ruleId":"676","severity":1,"message":"677","line":77,"column":7,"nodeType":"678","messageId":"679","endLine":77,"endColumn":19,"suppressions":"721"},{"ruleId":"676","severity":1,"message":"677","line":171,"column":7,"nodeType":"678","messageId":"679","endLine":171,"endColumn":19,"suppressions":"722"},{"ruleId":"723","severity":2,"message":"724","line":36,"column":22,"nodeType":"694","messageId":"725","endLine":36,"endColumn":27,"suppressions":"726"},{"ruleId":"697","severity":2,"message":"698","line":143,"column":11,"nodeType":"699","messageId":"700","endLine":154,"endColumn":13,"suppressions":"727"},{"ruleId":"702","severity":1,"message":"703","line":143,"column":25,"nodeType":"694","endLine":143,"endColumn":29,"suppressions":"728"},{"ruleId":"676","severity":1,"message":"677","line":10,"column":3,"nodeType":"678","messageId":"679","endLine":10,"endColumn":15,"suppressions":"729"},"no-console","Unexpected console statement.","MemberExpression","unexpected",["730"],["731"],["732"],["733"],["734"],["735"],["736"],["737"],["738"],["739"],["740"],["741"],"@typescript-eslint/no-unused-vars","'rerender' is assigned a value but never used.","Identifier","unusedVar",["742"],"promise/catch-or-return","Expected catch() or return","ExpressionStatement","terminationMethod",["743"],"promise/prefer-await-to-then","Prefer await to then()/catch()/finally().",["744"],["745"],["746"],"promise/always-return","Each then() should return a value or throw","ArrowFunctionExpression",["747"],["748"],["749"],["750"],["751"],["752"],["753"],["754"],["755"],["756"],["757"],["758"],["759"],"no-async-promise-executor","Promise executor functions should not be async.","async",["760"],["761"],["762"],["763"],{"kind":"764","justification":"765"},{"kind":"764","justification":"765"},{"kind":"764","justification":"765"},{"kind":"764","justification":"765"},{"kind":"764","justification":"765"},{"kind":"764","justification":"765"},{"kind":"764","justification":"765"},{"kind":"764","justification":"765"},{"kind":"764","justification":"765"},{"kind":"764","justification":"765"},{"kind":"764","justification":"765"},{"kind":"764","justification":"765"},{"kind":"764","justification":"765"},{"kind":"764","justification":"765"},{"kind":"764","justification":"765"},{"kind":"764","justification":"765"},{"kind":"764","justification":"765"},{"kind":"764","justification":"765"},{"kind":"764","justification":"765"},{"kind":"764","justification":"765"},{"kind":"764","justification":"765"},{"kind":"764","justification":"765"},{"kind":"764","justification":"765"},{"kind":"764","justification":"765"},{"kind":"764","justification":"765"},{"kind":"764","justification":"765"},{"kind":"764","justification":"765"},{"kind":"764","justification":"765"},{"kind":"764","justification":"765"},{"kind":"764","justification":"765"},{"kind":"764","justification":"765"},{"kind":"764","justification":"765"},{"kind":"764","justification":"765"},{"kind":"764","justification":"765"},"directive",""]
package/.eslintignore DELETED
@@ -1,3 +0,0 @@
1
- flow-typed/
2
- build/
3
- experiments-rtl/
package/.eslintrc DELETED
@@ -1,19 +0,0 @@
1
- {
2
- "extends": "@callstack",
3
- "rules": {
4
- "flowtype/no-weak-types": 0,
5
- "react-native/no-raw-text": 0,
6
- "no-console": 1,
7
- "react/no-multi-comp": 0,
8
- // Ignore certain webpack alias because it can't be resolved
9
- "import/no-unresolved": [
10
- 2,
11
- { "ignore": ["^@theme", "^@docusaurus", "^@generated"] }
12
- ],
13
- "react-native/no-color-literals": "off",
14
- "react-native/no-inline-styles": "off",
15
- "react-native-a11y/has-valid-accessibility-descriptors": "off",
16
- "react-native-a11y/has-valid-accessibility-ignores-invert-colors": 0,
17
- "react-native-a11y/has-valid-accessibility-value": "off"
18
- }
19
- }
package/.flowconfig DELETED
@@ -1,63 +0,0 @@
1
- [ignore]
2
- ; We fork some components by platform
3
- .*/*[.]android.js
4
- .*/node_modules/.*\.json$
5
-
6
- ; Ignore "BUCK" generated dirs
7
- <PROJECT_ROOT>/\.buckd/
8
-
9
- ; Ignore polyfills
10
- node_modules/react-native/Libraries/polyfills/.*
11
-
12
- ; These should not be required directly
13
- ; require from fbjs/lib instead: require('fbjs/lib/warning')
14
- node_modules/warning/.*
15
-
16
- ; Flow doesn't support platforms
17
- .*/Libraries/Utilities/LoadingView.js
18
-
19
- [untyped]
20
- .*/node_modules/@react-native-community/cli/.*/.*
21
-
22
- [include]
23
- .*/typings/
24
-
25
- [libs]
26
- node_modules/react-native/interface.js
27
- node_modules/react-native/flow/
28
- flow-typed/
29
- .*/typings/index
30
-
31
- [options]
32
- server.max_workers=4
33
- emoji=true
34
-
35
- module.file_ext=.js
36
- module.file_ext=.json
37
- module.file_ext=.ios.js
38
-
39
- munge_underscores=true
40
-
41
- module.name_mapper='^react-native/\(.*\)$' -> '<PROJECT_ROOT>/node_modules/react-native/\1'
42
- module.name_mapper='^@?[./a-zA-Z0-9$_-]+\.\(bmp\|gif\|jpg\|jpeg\|png\|psd\|svg\|webp\|m4v\|mov\|mp4\|mpeg\|mpg\|webm\|aac\|aiff\|caf\|m4a\|mp3\|wav\|html\|pdf\)$' -> '<PROJECT_ROOT>/node_modules/react-native/Libraries/Image/RelativeImageStub'
43
-
44
- [lints]
45
- sketchy-null-number=warn
46
- sketchy-null-mixed=warn
47
- sketchy-number=warn
48
- untyped-type-import=warn
49
- nonstrict-import=warn
50
- deprecated-type=warn
51
- unsafe-getters-setters=warn
52
- unnecessary-invariant=warn
53
- signature-verification-failure=warn
54
- deprecated-utility=error
55
-
56
- [strict]
57
- deprecated-type
58
- nonstrict-import
59
- sketchy-null
60
- unclear-type
61
- unsafe-getters-setters
62
- untyped-import
63
- untyped-type-import
@@ -1,38 +0,0 @@
1
- ---
2
- name: 🐛 Report a bug
3
- about: Report a reproducible or regression bug in React Native Testing Library'
4
- labels: 'bug report'
5
- ---
6
-
7
- ## Describe the bug
8
-
9
- <!--
10
- Describe your issue in detail. Include screenshots if needed. If this is a regression, let us know.
11
- -->
12
-
13
- ## Expected behavior
14
-
15
- <!--
16
- A clear and concise description of what you expected to happen.
17
- -->
18
-
19
- ## Steps to Reproduce
20
-
21
- <!--
22
- Let us know how to reproduce the issue. Include a code sample or share a project that reproduces the issue.
23
- Please follow the guidelines for providing a minimal example: https://stackoverflow.com/help/mcve.
24
- -->
25
-
26
- ## Screenshots
27
-
28
- <!--
29
- If applicable, add screenshots to help explain your problem.
30
- -->
31
-
32
- ## Versions
33
-
34
- <!--
35
- run following command in terminal of your root project and paste the result down
36
-
37
- `npx envinfo --npmPackages react,react-native,react-test-renderer,@testing-library/react-native`
38
- -->