Maciej Jastrzebski
63187c4180
v12.0.1
v12.0.1
2023-03-23 10:51:55 +01:00
Jarda Snajdr
6bf8d246e6
detectHostComponentNames: render test tree inside act to avoid timer leaks ( #1371 )
...
* detectHostComponentNames: render test tree inside act to avoid timer leaks
* chore: tweaks
* refactor: extract common renderWithAct function
* chore: tweaks
---------
Co-authored-by: Maciej Jastrzebski <mdjastrzebski@gmail.com >
2023-03-23 10:48:17 +01:00
Jarda Snajdr
f79d41dc6a
Flush all pending microtasks and updates before returning from waitFor ( #1366 )
...
* Flush all pending microtasks and updates before returning from waitFor
* Disable a linter error, its advice is not good
* refactor: use `flushMicroTasks` util
* refactor: add legacy fake timer test
* refactor: tweaks
---------
Co-authored-by: Maciej Jastrzębski <mdjastrzebski@gmail.com >
2023-03-23 10:04:45 +01:00
dependabot[bot]
0783af9e72
chore(deps-dev): bump typescript from 4.9.5 to 5.0.2 ( #1372 )
...
Bumps [typescript](https://github.com/Microsoft/TypeScript ) from 4.9.5 to 5.0.2.
- [Release notes](https://github.com/Microsoft/TypeScript/releases )
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.9.5...v5.0.2 )
---
updated-dependencies:
- dependency-name: typescript
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-20 18:03:28 +01:00
Maciej Jastrzebski
3eebab255b
Add migration link to readme
2023-03-17 11:48:05 +01:00
Maciej Jastrzebski
6c77ad897e
Tweak dependabot.yml
2023-03-16 13:16:37 +01:00
Maciej Jastrzebski
939380d5f5
chore: disabled renovate ( #1370 )
2023-03-16 12:53:03 +01:00
Maciej Jastrzebski
b898952e5f
chore: upgrade deps 2023-03-16 ( #1369 )
2023-03-16 12:45:31 +01:00
renovate[bot]
7628005b7e
fix(deps): update all minor & patch deps ( #1363 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-15 18:57:38 +01:00
Maciej Jastrzebski
f5fc6d4472
v12.0.0
v12.0.0
2023-03-15 09:44:52 +01:00
Maciej Jastrzebski
4256d0c83c
v12 release ( #1314 )
...
Co-authored-by: Michał Pierzchała <thymikee@gmail.com >
Co-authored-by: Pierre Zimmermann <64224599+pierrezimmermannbam@users.noreply.github.com >
2023-03-15 09:41:38 +01:00
Maciej Jastrzebski
c4d36e4ee3
v11.5.4
v11.5.4
2023-03-08 14:56:23 +01:00
Maciej Jastrzebski
468f7f5992
fix: disable container deprecation warning (main) ( #1362 )
...
* fix: disable container deprecation warning
* chore: fix lint
2023-03-08 14:46:31 +01:00
Maciej Jastrzebski
45d5cc14a4
v11.5.3
v11.5.3
2023-03-07 08:02:23 +01:00
Maciej Jastrzebski
eb2e087002
fix: duplicate AccessibilityState type (cherry-pick of #1355 ) ( #1361 )
2023-03-07 08:00:41 +01:00
Maciej Jastrzebski
0bd11a40ff
Update dependabot.yml
2023-03-06 15:48:52 +01:00
Maciej Jastrzebski
59beeea970
Update dependabot.yml
2023-03-06 15:47:02 +01:00
Maciej Jastrzebski
1718e430f6
chore: yarn upgrade ( #1356 )
2023-03-06 11:20:09 +01:00
dependabot[bot]
37ff200d11
chore(deps-dev): bump @testing-library/jest-native from 5.4.1 to 5.4.2 ( #1342 )
...
Bumps [@testing-library/jest-native](https://github.com/testing-library/jest-native ) from 5.4.1 to 5.4.2.
- [Release notes](https://github.com/testing-library/jest-native/releases )
- [Changelog](https://github.com/testing-library/jest-native/blob/main/CHANGELOG.md )
- [Commits](https://github.com/testing-library/jest-native/compare/v5.4.1...v5.4.2 )
---
updated-dependencies:
- dependency-name: "@testing-library/jest-native"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-01 10:57:41 +01:00
Pierre Zimmermann
43e02e443a
docs: update docs on custom jest preset ( #1316 )
...
* docs: update docs on custom jest preset
* docs: flip conditions on modern timers and react native version
* Update README.md
Co-authored-by: Maciej Jastrzebski <mdjastrzebski@gmail.com >
* Update title in readme for custom jest preset
Co-authored-by: Maciej Jastrzebski <mdjastrzebski@gmail.com >
---------
Co-authored-by: pierrezimmermann <pierrez@nam.tech >
Co-authored-by: Maciej Jastrzebski <mdjastrzebski@gmail.com >
2023-02-17 14:37:08 +01:00
Maciej Jastrzebski
3739c89d32
chore: upgrade docusaurus 2.3.1 ( #1336 )
...
* chore: upgrade docusaurus
* chore: upgrade website react
2023-02-17 12:37:46 +01:00
Maciej Jastrzębski
2c5e9ff796
chore: tweak renovate schedule
2023-02-17 11:06:18 +01:00
Maciej Jastrzebski
61cefc495d
chore: renovate config ( #1333 )
2023-02-17 10:22:14 +01:00
dependabot[bot]
26f9169aa1
chore(deps-dev): bump @types/react from 18.0.27 to 18.0.28 ( #1331 )
...
Bumps [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react ) from 18.0.27 to 18.0.28.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react )
---
updated-dependencies:
- dependency-name: "@types/react"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-17 00:13:35 +01:00
renovate[bot]
4487b62e1b
chore(deps): update node.js to v8.17.0 ( #1326 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-16 12:20:45 +01:00
renovate[bot]
81b2bf6e8d
chore(deps): update codecov/codecov-action action to v3 ( #1327 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-16 12:19:52 +01:00
renovate[bot]
3c48c3e908
chore(deps): update dependency react-native to v0.71.3 ( #1323 )
...
* chore(deps): update dependency react-native to v0.71.3
* chore: remove @ts-expect-errors comments
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Maciej Jastrzebski <mdjastrzebski@gmail.com >
2023-02-16 11:50:47 +01:00
renovate[bot]
924b5fc197
Add renovate.json ( #1322 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-16 11:40:46 +01:00
Maciej Jastrzebski
47b125c195
refactor(breaking): rename container to UNSAFE_root; introduce root host element ( #1298 )
2023-02-14 00:32:51 +01:00
Maciej Jastrzębski
1e8b3baa45
v11.5.2
v11.5.2
2023-02-08 15:11:37 +01:00
Maciej Jastrzebski
2b5d0d2a3d
fix: get host component names on render (modified) ( #1306 )
...
Co-authored-by: pierrezimmermann <pierrez@nam.tech >
2023-02-08 15:09:20 +01:00
dependabot[bot]
15e2db7869
chore(deps): bump http-cache-semantics from 4.1.0 to 4.1.1 in /website ( #1303 )
...
Bumps [http-cache-semantics](https://github.com/kornelski/http-cache-semantics ) from 4.1.0 to 4.1.1.
- [Release notes](https://github.com/kornelski/http-cache-semantics/releases )
- [Commits](https://github.com/kornelski/http-cache-semantics/compare/v4.1.0...v4.1.1 )
---
updated-dependencies:
- dependency-name: http-cache-semantics
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-08 11:49:34 +01:00
dependabot[bot]
163e2e7f2c
chore(deps-dev): bump typescript from 4.9.4 to 4.9.5 ( #1300 )
...
Bumps [typescript](https://github.com/Microsoft/TypeScript ) from 4.9.4 to 4.9.5.
- [Release notes](https://github.com/Microsoft/TypeScript/releases )
- [Commits](https://github.com/Microsoft/TypeScript/commits )
---
updated-dependencies:
- dependency-name: typescript
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-08 11:49:08 +01:00
dependabot[bot]
921fd1bb4a
chore(deps-dev): bump eslint from 8.32.0 to 8.33.0 ( #1299 )
...
Bumps [eslint](https://github.com/eslint/eslint ) from 8.32.0 to 8.33.0.
- [Release notes](https://github.com/eslint/eslint/releases )
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md )
- [Commits](https://github.com/eslint/eslint/compare/v8.32.0...v8.33.0 )
---
updated-dependencies:
- dependency-name: eslint
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-30 15:40:30 +01:00
dependabot[bot]
5adadd3b3a
chore(deps): bump pretty-format from 29.4.0 to 29.4.1 ( #1297 )
...
Bumps [pretty-format](https://github.com/facebook/jest/tree/HEAD/packages/pretty-format ) from 29.4.0 to 29.4.1.
- [Release notes](https://github.com/facebook/jest/releases )
- [Changelog](https://github.com/facebook/jest/blob/main/CHANGELOG.md )
- [Commits](https://github.com/facebook/jest/commits/v29.4.1/packages/pretty-format )
---
updated-dependencies:
- dependency-name: pretty-format
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-30 15:39:55 +01:00
Maciej Jastrzebski
8bd19520bf
chore: deprecate some a11y queries ( #1226 )
2023-01-28 22:31:56 +01:00
Maciej Jastrzębski
897b7de7f7
v11.5.1
v11.5.1
2023-01-26 21:38:56 +00:00
Maciej Jastrzebski
4decd45f5e
fix: force cast await to proper type ( #1293 )
...
* fix: force cast await to proper type
* fix: ci
* refactor: remove support for mock act
* refactor: tweaks
* chore: remove unused test
* chore: fix lint
* refactor: code review changes
2023-01-26 22:28:10 +01:00
dependabot[bot]
0abb4a40f9
chore(deps-dev): bump babel-jest from 29.4.0 to 29.4.1 ( #1295 )
...
Bumps [babel-jest](https://github.com/facebook/jest/tree/HEAD/packages/babel-jest ) from 29.4.0 to 29.4.1.
- [Release notes](https://github.com/facebook/jest/releases )
- [Changelog](https://github.com/facebook/jest/blob/main/CHANGELOG.md )
- [Commits](https://github.com/facebook/jest/commits/v29.4.1/packages/babel-jest )
---
updated-dependencies:
- dependency-name: babel-jest
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-26 16:50:46 +01:00
dependabot[bot]
4859b84336
chore(deps-dev): bump jest from 29.3.1 to 29.4.0 ( #1292 )
...
* chore(deps-dev): bump jest from 29.3.1 to 29.4.0
Bumps [jest](https://github.com/facebook/jest/tree/HEAD/packages/jest ) from 29.3.1 to 29.4.0.
- [Release notes](https://github.com/facebook/jest/releases )
- [Changelog](https://github.com/facebook/jest/blob/main/CHANGELOG.md )
- [Commits](https://github.com/facebook/jest/commits/v29.4.0/packages/jest )
---
updated-dependencies:
- dependency-name: jest
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* chore: update jest deps
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Maciej Jastrzębski <mdjastrzebski@gmail.com >
2023-01-26 16:43:41 +01:00
dependabot[bot]
b6b31a2a66
chore(deps): bump ua-parser-js from 0.7.31 to 0.7.33 in /website ( #1294 )
...
Bumps [ua-parser-js](https://github.com/faisalman/ua-parser-js ) from 0.7.31 to 0.7.33.
- [Release notes](https://github.com/faisalman/ua-parser-js/releases )
- [Changelog](https://github.com/faisalman/ua-parser-js/blob/master/changelog.md )
- [Commits](https://github.com/faisalman/ua-parser-js/compare/0.7.31...0.7.33 )
---
updated-dependencies:
- dependency-name: ua-parser-js
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-26 11:58:18 +01:00
dependabot[bot]
11d2fe3c2a
chore(deps): bump pretty-format from 29.3.1 to 29.4.0 ( #1290 )
...
Bumps [pretty-format](https://github.com/facebook/jest/tree/HEAD/packages/pretty-format ) from 29.3.1 to 29.4.0.
- [Release notes](https://github.com/facebook/jest/releases )
- [Changelog](https://github.com/facebook/jest/blob/main/CHANGELOG.md )
- [Commits](https://github.com/facebook/jest/commits/v29.4.0/packages/pretty-format )
---
updated-dependencies:
- dependency-name: pretty-format
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-26 11:52:34 +01:00
Patryk Fryda
0af721144f
feat: check accessibilityLabelledBy in *ByLabelText queries ( #1191 )
...
* feat: check accessibilityLabelledBy in *ByLabelText queries
* refactor: move getNodeByText to matchTextContent helper
* test: improve getByLabelText tests
* refactor: extract matchLabelText
* refactor: tweaks
* refactor: code review changes
* refactor: code review changes
* chore: rebase on main
* chore: fix lint
* chore: fix test code in files
* chore: fix lint
* chore: fix ts error due to missing RN typing
Co-authored-by: Maciej Jastrzebski <mdjastrzebski@gmail.com >
2023-01-23 23:52:24 +01:00
dependabot[bot]
3b55d99c18
chore(deps-dev): bump @types/jest from 29.2.5 to 29.2.6 ( #1285 )
...
Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest ) from 29.2.5 to 29.2.6.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest )
---
updated-dependencies:
- dependency-name: "@types/jest"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-23 23:29:52 +01:00
dependabot[bot]
2ae4a3cb0f
chore(deps-dev): bump @types/react from 18.0.26 to 18.0.27 ( #1286 )
...
Bumps [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react ) from 18.0.26 to 18.0.27.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react )
---
updated-dependencies:
- dependency-name: "@types/react"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-23 23:29:26 +01:00
dependabot[bot]
c0406a921e
chore(deps-dev): bump react-native from 0.71.0 to 0.71.1 ( #1288 )
2023-01-22 21:14:39 +00:00
Maciej Jastrzebski
9019eed3d1
chore: deploy website to GH pages ( #1282 )
...
* chore: deploy website to gh pages
* chore: fix deploy script
* chore: fix deploy script
* chore: tweaks
* chore: tweaks
2023-01-19 10:34:13 +01:00
dependabot[bot]
d86d353133
chore(deps-dev): bump react-test-renderer from 18.1.0 to 18.2.0 ( #1281 )
...
Bumps [react-test-renderer](https://github.com/facebook/react/tree/HEAD/packages/react-test-renderer ) from 18.1.0 to 18.2.0.
- [Release notes](https://github.com/facebook/react/releases )
- [Changelog](https://github.com/facebook/react/blob/main/CHANGELOG.md )
- [Commits](https://github.com/facebook/react/commits/v18.2.0/packages/react-test-renderer )
---
updated-dependencies:
- dependency-name: react-test-renderer
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-18 16:53:24 +01:00
dependabot[bot]
25613807b8
chore(deps-dev): bump react and react-native ( #1278 )
...
* chore(deps-dev): bump react and react-native
Bumps [react](https://github.com/facebook/react/tree/HEAD/packages/react ) and [react-native](https://github.com/facebook/react-native ). These dependencies needed to be updated together.
Updates `react` from 18.1.0 to 18.2.0
- [Release notes](https://github.com/facebook/react/releases )
- [Changelog](https://github.com/facebook/react/blob/main/CHANGELOG.md )
- [Commits](https://github.com/facebook/react/commits/v18.2.0/packages/react )
Updates `react-native` from 0.70.6 to 0.71.0
- [Release notes](https://github.com/facebook/react-native/releases )
- [Changelog](https://github.com/facebook/react-native/blob/main/CHANGELOG.md )
- [Commits](https://github.com/facebook/react-native/compare/v0.70.6...v0.71.0 )
---
updated-dependencies:
- dependency-name: react
dependency-type: direct:development
update-type: version-update:semver-minor
- dependency-name: react-native
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* chore: update snapshots
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Maciej Jastrzębski <mdjastrzebski@gmail.com >
2023-01-18 13:16:08 +01:00
dependabot[bot]
df62da3dd3
chore(deps-dev): bump @testing-library/jest-native from 5.4.0 to 5.4.1 ( #1275 )
...
Bumps [@testing-library/jest-native](https://github.com/testing-library/jest-native ) from 5.4.0 to 5.4.1.
- [Release notes](https://github.com/testing-library/jest-native/releases )
- [Changelog](https://github.com/testing-library/jest-native/blob/main/CHANGELOG.md )
- [Commits](https://github.com/testing-library/jest-native/compare/v5.4.0...v5.4.1 )
---
updated-dependencies:
- dependency-name: "@testing-library/jest-native"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-18 10:30:47 +01:00