207 Commits

Author SHA1 Message Date
Maciej Jastrzebski 45d5cc14a4 v11.5.3 2023-03-07 08:02:23 +01:00
Maciej Jastrzebski 61cefc495d chore: renovate config (#1333) 2023-02-17 10:22:14 +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
Maciej Jastrzębski 1e8b3baa45 v11.5.2 2023-02-08 15:11:37 +01:00
Maciej Jastrzębski 897b7de7f7 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] 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
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] c0406a921e chore(deps-dev): bump react-native from 0.71.0 to 0.71.1 (#1288) 2023-01-22 21:14:39 +00: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
Pierre Zimmermann d261f6100e feat(breaking): Return host component for all queries (#1234)
* BREAKING CHANGE : make placeholdertext queries return host elements

* BREAKING CHANGE : make displayValue queries return host elements

* BREAKING CHANGE: make text queries return host elements

* refactor: reset config to default before each test

* feat: use component names from config and add api to configure them

* feat: remove legacy option from queries

* refactor: reorganize legacy and breaking tests for queries

* feat: change error messages for mismatching host component names

* fix: do not update screen when running auto detection

* fix: typo in comment

* refactor: use an object for matchTextContent params

* tests: rewrite some tests to match repo patterns

* fix: use legacy queries by default to prevent breaking changes

* fix: remove wrong uppercase in flow typings

* docs: remove section on useLegacy queries as it wont be a public api

* docs: small improvements based on review

* fix: remove typo in error message

* refactor: rename getReactNativeHostComponentNames to detectHostComponentNames

* refactor: use useBreakingChange from internal config instead of useLegacyQueries

* fix: use fake timers in test so it doesnt take too much time

* refactor: replace type assertions by real type checking

* fix: revert change due to rebase

* fix: improvements after review

* refactor: define type to match inside matchTextContent function

* refactor: rename function to get error message

* feat: display error when auto detect of host component names throw

* fix: remove unused ts-expect-error after ts version bump

* refactor: run auto detection on render if it hasnt been run yet

* refactor: reuse type imports that had been converted to regular ones

* refactor: add comments to distinguish breaking and legacy

* refactor: move config logic into detectComponentHostNames function

* refactor: rename function to detectComponentHostNamesIfNeeded

* tests: add test on detectHostComponentNamesIfNeeded

* fix: use host component name from config for textinput in fireEvent

* refactor: run autodetection in text, displayvalue and placeholder queries rather than in render

* refactor: remove useless async declaration

* refactor: improvements for readability from review

* Update src/__tests__/host-component-names.test.tsx

* refactor: declare variable for host component names in detection function

* refactor: rename detectHostComponentNamesIfNeeded to getHostComponentNames

* feat: use getHostComponentNames in fireEvent for textinput host name

* refactor: revert refactor on matchTextContent

* refactor: add comment to indicate impossible path

* chore: simplify jest-setup files

* refactor: code review changes

Co-authored-by: pierrezimmermann <pierrez@nam.tech>
Co-authored-by: Maciej Jastrzebski <mdjastrzebski@gmail.com>
2023-01-15 23:13:27 +01:00
Maciej Jastrzebski 71d5040697 chore: update examples to use toBeOnTheScreen() (#1267) 2023-01-03 17:52:31 +01:00
Maciej Jastrzebski 63586b13a8 v11.5.0 2022-11-17 13:11:32 +01:00
dependabot[bot] adfb493c57 chore(deps-dev): bump jest from 29.2.2 to 29.3.1 (#1228)
* chore(deps-dev): bump jest from 29.2.2 to 29.3.1

Bumps [jest](https://github.com/facebook/jest/tree/HEAD/packages/jest) from 29.2.2 to 29.3.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.3.1/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 Jastrzebski <mdjastrzebski@gmail.com>
2022-11-16 15:05:23 +01:00
dependabot[bot] c8b8d038ea chore(deps-dev): bump react-native from 0.70.5 to 0.70.6 (#1232)
Bumps [react-native](https://github.com/facebook/react-native) from 0.70.5 to 0.70.6.
- [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.5...v0.70.6)

---
updated-dependencies:
- dependency-name: react-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>
2022-11-16 15:04:17 +01:00
dependabot[bot] f746a86af0 chore(deps-dev): bump @babel/core from 7.19.6 to 7.20.2 (#1212)
* chore(deps-dev): bump @babel/core from 7.19.6 to 7.20.2

Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.19.6 to 7.20.2.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.20.2/packages/babel-core)

---
updated-dependencies:
- dependency-name: "@babel/core"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* chore: update babel 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 Jastrzebski <mdjastrzebski@gmail.com>
2022-11-15 16:17:04 +01:00
dependabot[bot] e5ea06b662 chore(deps-dev): bump react-native from 0.70.4 to 0.70.5 (#1216)
Bumps [react-native](https://github.com/facebook/react-native) from 0.70.4 to 0.70.5.
- [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.4...v0.70.5)

---
updated-dependencies:
- dependency-name: react-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>
2022-11-15 16:13:03 +01:00
Maciej Jastrzebski 23c876e1ba v11.4.0 2022-11-03 13:11:46 +01:00
Pierre Zimmermann a78f3e4134 feat: debug options (#1160)
Co-authored-by: pierrezimmermann <pierrez@nam.tech>
Co-authored-by: Maciej Jastrzebski <mdjastrzebski@gmail.com>
2022-11-03 12:52:51 +01:00
dependabot[bot] 75aaaa60e5 chore(deps-dev): bump jest from 29.2.1 to 29.2.2 (#1199)
* chore(deps-dev): bump jest from 29.2.1 to 29.2.2

Bumps [jest](https://github.com/facebook/jest/tree/HEAD/packages/jest) from 29.2.1 to 29.2.2.
- [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.2.2/packages/jest)

---
updated-dependencies:
- dependency-name: jest
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* chore: 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 Jastrzebski <mdjastrzebski@gmail.com>
2022-10-31 12:59:48 +01:00
dependabot[bot] 09ef0ae005 chore(deps-dev): bump react-native from 0.70.3 to 0.70.4 (#1201)
Bumps [react-native](https://github.com/facebook/react-native) from 0.70.3 to 0.70.4.
- [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.3...v0.70.4)

---
updated-dependencies:
- dependency-name: react-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>
2022-10-31 12:59:10 +01:00
Jan Jaworski 8e5c9f9e4f chore: add codecov (#1203)
Co-authored-by: Maciej Jastrzebski <mdjastrzebski@gmail.com>
2022-10-31 09:35:41 +01:00
Michał Pierzchała a1d301dd7d v11.3.0 2022-10-18 13:59:01 +02:00
dependabot[bot] b86560a838 chore(deps-dev): bump react-native from 0.70.2 to 0.70.3 (#1170)
Bumps [react-native](https://github.com/facebook/react-native) from 0.70.2 to 0.70.3.
- [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.2...v0.70.3)

---
updated-dependencies:
- dependency-name: react-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>
2022-10-15 12:31:01 +02:00
dependabot[bot] b121f2cd93 chore(deps-dev): bump react-native from 0.70.1 to 0.70.2 (#1159)
Bumps [react-native](https://github.com/facebook/react-native) from 0.70.1 to 0.70.2.
- [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.1...v0.70.2)

---
updated-dependencies:
- dependency-name: react-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>
2022-10-04 17:31:13 +02:00
Maciej Jastrzebski e9aed66d7c chore: update jest-native deps (#1154) 2022-09-30 13:14:22 +02:00
dependabot[bot] b86db7b17c chore(deps-dev): bump @babel/core from 7.18.13 to 7.19.1 (#1121)
* chore(deps-dev): bump @babel/core from 7.18.13 to 7.19.1

Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.18.13 to 7.19.1.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.19.1/packages/babel-core)

---
updated-dependencies:
- dependency-name: "@babel/core"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* chore: update babel 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 Jastrzebski <mdjastrzebski@gmail.com>
2022-09-26 14:24:49 +02:00
dependabot[bot] f74b9f4d55 chore(deps-dev): bump react-native from 0.70.0 to 0.70.1 (#1126)
Bumps [react-native](https://github.com/facebook/react-native) from 0.70.0 to 0.70.1.
- [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.0...v0.70.1)

---
updated-dependencies:
- dependency-name: react-native
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-26 13:20:13 +02:00
Michał Pierzchała 139b276e1f v11.2.0 2022-09-26 10:35:09 +02:00
Augustin Le Fèvre 10e69c5f67 Add support for testing with react@17 (#1115)
* Add support for testing with react@17

* Test with react@17 through a script updating dependencies

* Use test:ci command also for react@17

* Minor adjustements to script

* Update scripts/test_react_17

Co-authored-by: Maciej Jastrzebski <mdjastrzebski@gmail.com>
2022-09-16 23:27:27 +02:00
Michał Pierzchała fbf3e789b5 v11.1.0 2022-09-16 10:48:00 +02:00
dependabot[bot] fcac73ec9f chore(deps-dev): bump @types/react-native from 0.69.8 to 0.70.0 (#1123)
Bumps [@types/react-native](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-native) from 0.69.8 to 0.70.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-native)

---
updated-dependencies:
- dependency-name: "@types/react-native"
  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>
2022-09-15 14:42:44 +02:00
dependabot[bot] c5db8cfadc chore(deps-dev): bump babel-jest from 29.0.2 to 29.0.3 (#1111)
* chore(deps-dev): bump babel-jest from 29.0.2 to 29.0.3

Bumps [babel-jest](https://github.com/facebook/jest/tree/HEAD/packages/babel-jest) from 29.0.2 to 29.0.3.
- [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.0.3/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>

* chore: update all 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 Jastrzebski <maciej.jastrzebski@callstack.com>
2022-09-15 11:25:49 +02:00
Maciej Jastrzebski bd561467a3 chore: remove and add again conventional-changelog-cli" to update deep deps (#1109) 2022-09-09 15:00:06 +02:00
Maciej Jastrzebski 7347e92b34 chore: optional jest peer dep (#1101) 2022-09-09 09:04:41 +02:00
Maciej Jastrzebski 7c196c2c2a chore: remove cp-cli dep (#1106) 2022-09-08 18:25:45 +02:00
dependabot[bot] 72637c2a28 chore(deps-dev): bump @callstack/eslint-config from 12.0.2 to 13.0.1 (#1103)
* chore(deps-dev): bump @callstack/eslint-config from 12.0.2 to 13.0.1

Bumps [@callstack/eslint-config](https://github.com/callstack/eslint-config-callstack) from 12.0.2 to 13.0.1.
- [Release notes](https://github.com/callstack/eslint-config-callstack/releases)
- [Commits](https://github.com/callstack/eslint-config-callstack/commits)

---
updated-dependencies:
- dependency-name: "@callstack/eslint-config"
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* chore: run lint --fix

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Maciej Jastrzebski <mdjastrzebski@gmail.com>
2022-09-08 17:44:26 +02:00
dependabot[bot] 69baf3989e chore(deps-dev): bump react-native from 0.69.5 to 0.70.0 (#1097)
* chore(deps-dev): bump react-native from 0.69.5 to 0.70.0

Bumps [react-native](https://github.com/facebook/react-native) from 0.69.5 to 0.70.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.69.5...v0.70.0)

---
updated-dependencies:
- 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 Jastrzebski <mdjastrzebski@gmail.com>
2022-09-08 17:39:36 +02:00
dependabot[bot] 6577763322 chore(deps-dev): bump jest from 29.0.1 to 29.0.2 (#1094)
* chore(deps-dev): bump jest from 29.0.1 to 29.0.2

Bumps [jest](https://github.com/facebook/jest/tree/HEAD/packages/jest) from 29.0.1 to 29.0.2.
- [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.0.2/packages/jest)

---
updated-dependencies:
- dependency-name: jest
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* chore: update jest deps

* chore: update yarn.lockl

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Maciej Jastrzebski <mdjastrzebski@gmail.com>
2022-09-08 17:24:18 +02:00
dependabot[bot] a547740e08 chore(deps-dev): bump @types/jest from 28.1.8 to 29.0.0 (#1088)
Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest) from 28.1.8 to 29.0.0.
- [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-major
...

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>
2022-08-30 16:03:05 +02:00
dependabot[bot] f5db461f80 chore(deps-dev): bump jest from 28.1.3 to 29.0.0 (#1076)
* chore(deps-dev): bump jest from 28.1.3 to 29.0.0

Bumps [jest](https://github.com/facebook/jest/tree/HEAD/packages/jest) from 28.1.3 to 29.0.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.0.0/packages/jest)

---
updated-dependencies:
- dependency-name: jest
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* fix: nuke snapshots

* chore: update pretty-format

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Maciej Jastrzebski <mdjastrzebski@gmail.com>
2022-08-25 15:35:16 +02:00
Michał Pierzchała c1cc140396 chore: remove release-it as it's unused (#1050) 2022-08-09 17:41:49 +02:00
Michał Pierzchała 9033d7db99 v11.0.0 2022-08-09 16:45:07 +02:00
dependabot[bot] 09ddc5434f chore(deps-dev): bump del-cli from 3.0.1 to 5.0.0 (#1038) 2022-08-09 11:45:16 +02:00
dependabot[bot] 942f3ec1f4 chore(deps-dev): bump eslint from 7.32.0 to 8.21.0 (#1026)
Bumps [eslint](https://github.com/eslint/eslint) from 7.32.0 to 8.21.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/v7.32.0...v8.21.0)

---
updated-dependencies:
- dependency-name: eslint
  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>
2022-08-09 10:37:08 +02:00
dependabot[bot] bfdaabc3e6 chore(deps-dev): bump @callstack/eslint-config from 11.0.0 to 12.0.2 (#950)
* chore(deps-dev): bump @callstack/eslint-config from 11.0.0 to 12.0.2

Bumps [@callstack/eslint-config](https://github.com/callstack/eslint-config-callstack) from 11.0.0 to 12.0.2.
- [Release notes](https://github.com/callstack/eslint-config-callstack/releases)
- [Commits](https://github.com/callstack/eslint-config-callstack/compare/v11.0.0...v12.0.2)

---
updated-dependencies:
- dependency-name: "@callstack/eslint-config"
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* chore: disable a11y eslint rules

* fix: formatting

* fix: flowcheck

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Maciej Jastrzebski <mdjastrzebski@gmail.com>
2022-08-09 10:31:31 +02:00
Michał Pierzchała e85aa187e1 chore: upgrade pretty-format to v28 to match Jest deps (#1019)
* v11.0.0-rc.0

* chore: upgrade pretty-format to v28 to match Jest deps
2022-07-21 09:31:29 +02:00
Michał Pierzchała 6a65ed3294 v11.0.0-rc.0 2022-07-20 14:46:15 +02:00
MattAgn 74318854b9 Organise a11y queries by predicate (#977)
* refactor: make Options generic type optionnal in queries

* refactor: extract byLabelText queries and its tests

* refactor: extract byA11yHint queries and its tests

* refactor: extract byRole queries and its tests

* refactor: extract byA11yState queries and its tests

* refactor: extract byA11yValue queries and its tests

* refactor: extract byA11yStates queries and its tests

* refactor: harmonize component declaration in queries testsx

* refactor: simplify error helpers in queries tests

* refactor: make error helpers more explicit

* chore: remove now unused makeA11yQueries

* refactor: rename AccessibilityStateKeyQueryParam to AccessibilityStateKeys

* refactor: rename param in a11yStates

* refactor: simplify matchObject

* refactor: fix namings in labelText

* refactor: fix namings in a11yHint

* refactor: fix queryAll namings'

* refactor: fix some namings in a11yState

* refactor: fix some namings in role

* refactor: fix some namings in a11yValue

* refactor: extract matchStringValue

* refactor: extract matchObject

* refactor: extract matchArrayValue

* test: add tests for the matchers

* refactor: simplify matchArrayValue to make it more explicit

* refactor: reorder imports and object keys

* refactor: update types

* refactor: small tweaks

* refactor: tweaks

* refactor: clarify matcher naming

* refactor: add missing aliases

* chore: fix ci timeout

* chore: revert jest timeout increase

* chore: revert timeout increase

* chore: fix ci tests

* chore: re-enable disabled tests

* chore: reduce jest paralelizaiton

* chore: ci tweaks

Co-authored-by: Maciej Jastrzebski <mdjastrzebski@gmail.com>
2022-07-20 11:37:04 +02:00