710 Commits

Author SHA1 Message Date
Maciej Jastrzebski 23c876e1ba v11.4.0 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
Maciej Jastrzebski bfb3498e39 docs: testing environment (#1195)
* docs: testing environment

* fix: links

* docs: link from FAQ

* Update TestingEnvironment.md

* Apply suggestions from code review

Co-authored-by: Pierre Zimmermann <64224599+pierrezimmermannbam@users.noreply.github.com>
Co-authored-by: Augustin Le Fèvre <augustin.le-fevre@klarna.com>

* docs: code review changes

Co-authored-by: Michał Pierzchała <thymikee@gmail.com>
Co-authored-by: Pierre Zimmermann <64224599+pierrezimmermannbam@users.noreply.github.com>
Co-authored-by: Augustin Le Fèvre <augustin.le-fevre@klarna.com>
2022-10-31 16:09:21 +01:00
Jan Jaworski 4f4a6b4f42 fix: cleanup codecov badge links (#1205)
* fix: cleanup codecov badge links

* fix: correct order

Co-authored-by: Michał Pierzchała <thymikee@gmail.com>
2022-10-31 16:06:20 +01:00
Jan Jaworski be202a989a chore: add codecov badge to README (#1204)
* chore: add codecov badge to README

* chore: move before callstack
2022-10-31 15:51:21 +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
dependabot[bot] 4567862407 chore(deps-dev): bump eslint from 8.25.0 to 8.26.0 (#1197)
Bumps [eslint](https://github.com/eslint/eslint) from 8.25.0 to 8.26.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.25.0...v8.26.0)

---
updated-dependencies:
- dependency-name: eslint
  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-10-31 12:52:12 +01:00
Shaswat Prabhat 52222b42b4 Add queryOptions to labelText and hintText (#1193)
Co-authored-by: Maciej Jastrzebski <mdjastrzebski@gmail.com>
2022-10-31 12:10:45 +01:00
Pierre Zimmermann 380ff320c0 fix: do not use a real timeout in waitfor when using fake timers (#1177)
* fix: do not use a real timeout in waitfor when using fake timers

* refactor: rewrite test so that it is more explicit

* refactor: make test faster by decreasing both interval and timeout

* refactor: expect waitFor to throw rather than wrapping in try catch

* test: fix typo in test comment

* tests: increase a bit interval so test is more robust and make it more explicit

* tests: some improvements from review

* Update expect comment following review suggestion

Co-authored-by: Maciej Jastrzebski <mdjastrzebski@gmail.com>

Co-authored-by: pierrezimmermann <pierrez@nam.tech>
Co-authored-by: Maciej Jastrzebski <mdjastrzebski@gmail.com>
2022-10-31 11:22:52 +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
dependabot[bot] 68ae217011 chore(deps-dev): bump @testing-library/jest-native from 5.0.0 to 5.1.2 (#1196)
Bumps [@testing-library/jest-native](https://github.com/testing-library/jest-native) from 5.0.0 to 5.1.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.0.0...v5.1.2)

---
updated-dependencies:
- dependency-name: "@testing-library/jest-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-10-21 16:06:43 +02:00
Maciej Jastrzebski bd5ddd7bc4 fix: *ByA11yState default value false value for busy, disabled & selected state (#1166) 2022-10-21 11:06:57 +02:00
dependabot[bot] 96bf63a1f9 chore(deps-dev): bump @babel/core from 7.19.3 to 7.19.6 (#1192) 2022-10-20 15:07:03 +02:00
Augustin Le Fèvre 7ae763ff65 Query by role and accessibilityState and improve ByRole query errors (#1161) 2022-10-20 11:52:10 +02:00
dependabot[bot] 439253f476 chore(deps-dev): bump @types/react-native from 0.70.5 to 0.70.6 (#1187)
Bumps [@types/react-native](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-native) from 0.70.5 to 0.70.6.
- [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-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-19 23:05:19 +02:00
dependabot[bot] 8da7e7bf20 chore(deps): bump pretty-format from 29.2.0 to 29.2.1 (#1188)
Bumps [pretty-format](https://github.com/facebook/jest/tree/HEAD/packages/pretty-format) from 29.2.0 to 29.2.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.2.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>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-19 23:05:02 +02:00
dependabot[bot] b4d9aacc1b chore(deps-dev): bump babel-jest from 29.2.0 to 29.2.1 (#1190)
Bumps [babel-jest](https://github.com/facebook/jest/tree/HEAD/packages/babel-jest) from 29.2.0 to 29.2.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.2.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>
2022-10-19 23:04:33 +02:00
dependabot[bot] 9d97896039 chore(deps-dev): bump @babel/preset-env from 7.19.3 to 7.19.4 (#1167)
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.19.3 to 7.19.4.
- [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.4/packages/babel-preset-env)

---
updated-dependencies:
- dependency-name: "@babel/preset-env"
  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-19 22:36:08 +02:00
dependabot[bot] 272f04207e chore(deps-dev): bump jest from 29.2.0 to 29.2.1 (#1189)
Bumps [jest](https://github.com/facebook/jest/tree/HEAD/packages/jest) from 29.2.0 to 29.2.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.2.1/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>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-19 22:35:18 +02:00
dependabot[bot] f26431b68d chore(deps-dev): bump @types/jest from 29.1.2 to 29.2.0 (#1185) 2022-10-18 17:45:33 +02:00
Michał Pierzchała a1d301dd7d v11.3.0 v11.3.0 2022-10-18 13:59:01 +02:00
Nir Yosef 8356d2cff9 Ignore fake timers (#1169) 2022-10-18 13:41:28 +02:00
Maciej Jastrzebski 28aa750aea docs: add typedefs for queries (#1175) 2022-10-18 08:01:33 +02:00
dependabot[bot] ffb41056de chore(deps-dev): bump @types/react-native from 0.70.4 to 0.70.5 (#1178)
Bumps [@types/react-native](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-native) from 0.70.4 to 0.70.5.
- [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-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-17 23:17:52 +02:00
Pierre Zimmermann 17e2021030 fix: update render flow type with new option unstable_validateStringsRenderedWithinText (#1179)
Co-authored-by: pierrezimmermann <pierrez@nam.tech>
2022-10-17 23:16:29 +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] 3ed6bc061f chore(deps): bump pretty-format from 29.1.2 to 29.2.0 (#1174)
Bumps [pretty-format](https://github.com/facebook/jest/tree/HEAD/packages/pretty-format) from 29.1.2 to 29.2.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.2.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>
2022-10-15 12:30:00 +02:00
dependabot[bot] eadec23796 chore(deps-dev): bump babel-jest from 29.1.2 to 29.2.0 (#1172)
Bumps [babel-jest](https://github.com/facebook/jest/tree/HEAD/packages/babel-jest) from 29.1.2 to 29.2.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.2.0/packages/babel-jest)

---
updated-dependencies:
- dependency-name: babel-jest
  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-10-15 12:29:28 +02:00
dependabot[bot] 49e8b19cfd chore(deps-dev): bump jest from 29.1.2 to 29.2.0 (#1173)
Bumps [jest](https://github.com/facebook/jest/tree/HEAD/packages/jest) from 29.1.2 to 29.2.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.2.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>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-15 12:17:02 +02:00
dependabot[bot] 763ce8878c chore(deps-dev): bump eslint from 8.24.0 to 8.25.0 (#1168) 2022-10-15 12:01:36 +02:00
dependabot[bot] 07ba1f894b chore(deps-dev): bump @types/jest from 29.1.1 to 29.1.2 (#1162)
Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest) from 29.1.1 to 29.1.2.
- [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>
2022-10-07 22:53:21 +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
dependabot[bot] 5a08869c22 chore(deps-dev): bump jest from 29.1.1 to 29.1.2 (#1158) 2022-10-04 15:50:59 +02:00
Augustin Le Fèvre 2520735e09 fix: *ByRole queries to match their own text text content (#1139) 2022-10-04 10:06:09 +02:00
Josh Justice 190df67b16 Eslint plugin docs typos (#1157) 2022-10-02 22:32:37 +02:00
dependabot[bot] cc52c610fc chore(deps): bump pretty-format from 29.1.0 to 29.1.2 (#1156) 2022-09-30 16:19:29 +02:00
dependabot[bot] fdae997cf8 chore(deps-dev): bump babel-jest from 29.1.0 to 29.1.2 (#1155) 2022-09-30 15:36:41 +02:00
Maciej Jastrzebski e9aed66d7c chore: update jest-native deps (#1154) 2022-09-30 13:14:22 +02:00
dependabot[bot] d06ce45a8c chore(deps-dev): bump @types/jest from 29.0.3 to 29.1.0 (#1153) 2022-09-29 15:43:32 +02:00
dependabot[bot] ddcdbeb37d chore(deps): bump pretty-format from 29.0.3 to 29.1.0 (#1151) 2022-09-28 20:22:51 +02:00
dependabot[bot] d8d85a13ea chore(deps-dev): bump babel-jest from 29.0.3 to 29.1.0 (#1150) 2022-09-28 19:36:28 +02:00
dependabot[bot] e2a57911c3 chore(deps-dev): bump @babel/cli from 7.18.10 to 7.19.3 (#1146) 2022-09-28 19:22:37 +02:00
dependabot[bot] b7c4fa3220 chore(deps-dev): bump @babel/preset-env from 7.19.1 to 7.19.3 (#1149)
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.19.1 to 7.19.3.
- [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.3/packages/babel-preset-env)

---
updated-dependencies:
- dependency-name: "@babel/preset-env"
  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-09-28 18:08:06 +02:00
dependabot[bot] ac01460b09 chore(deps-dev): bump @types/react-native from 0.70.3 to 0.70.4 (#1145)
Bumps [@types/react-native](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-native) from 0.70.3 to 0.70.4.
- [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-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-09-28 17:34:58 +02:00
dependabot[bot] bdf1caf4c2 chore(deps-dev): bump jest from 29.0.3 to 29.1.1 (#1147)
Bumps [jest](https://github.com/facebook/jest/tree/HEAD/packages/jest) from 29.0.3 to 29.1.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.1.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>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-28 17:34:38 +02:00
dependabot[bot] 7d73b96237 chore(deps-dev): bump @babel/core from 7.19.1 to 7.19.3 (#1148)
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.19.1 to 7.19.3.
- [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.3/packages/babel-core)

---
updated-dependencies:
- dependency-name: "@babel/core"
  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-09-28 17:33:50 +02:00
dependabot[bot] eb155f1b6a chore(deps-dev): bump typescript from 4.8.3 to 4.8.4 (#1144)
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.8.3 to 4.8.4.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.8.3...v4.8.4)

---
updated-dependencies:
- dependency-name: typescript
  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-09-28 15:57:28 +02:00
Maciej Jastrzebski ce54ab30f7 chore: ReactNative API assumptions early warning tests (#1143) 2022-09-28 13:51:34 +02:00
Maciej Jastrzebski 932c547b3b feature: configure API from DTL (#1141) 2022-09-27 16:18:55 +02:00