1256 Commits

Author SHA1 Message Date
dependabot-preview[bot] 5f3639f64b chore(deps-dev): bump @types/react-native from 0.63.6 to 0.63.12 (#521)
Bumps [@types/react-native](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-native) from 0.63.6 to 0.63.12.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-native)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-09-01 19:38:30 +02:00
dependabot-preview[bot] fc94b3b8a2 chore(deps-dev): bump typescript from 3.9.7 to 4.0.2 (#523)
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 3.9.7 to 4.0.2.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v3.9.7...v4.0.2)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-09-01 19:37:09 +02:00
dependabot-preview[bot] 98ce0ff3bd chore(deps-dev): bump release-it from 13.6.6 to 13.7.0
Bumps [release-it](https://github.com/release-it/release-it) from 13.6.6 to 13.7.0.
- [Release notes](https://github.com/release-it/release-it/releases)
- [Changelog](https://github.com/release-it/release-it/blob/master/CHANGELOG.md)
- [Commits](https://github.com/release-it/release-it/compare/13.6.6...13.7.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-01 07:54:44 +00:00
dependabot-preview[bot] bf46ea3fbf chore(deps): bump pretty-format from 26.3.0 to 26.4.2
Bumps [pretty-format](https://github.com/facebook/jest/tree/HEAD/packages/pretty-format) from 26.3.0 to 26.4.2.
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/facebook/jest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/facebook/jest/commits/v26.4.2/packages/pretty-format)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-01 07:54:18 +00:00
dependabot-preview[bot] 61d1e07e11 chore(deps-dev): bump jest from 26.3.0 to 26.4.2
Bumps [jest](https://github.com/facebook/jest) from 26.3.0 to 26.4.2.
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/facebook/jest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/facebook/jest/compare/v26.3.0...v26.4.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-01 07:47:27 +00:00
dependabot-preview[bot] 183dd60ddb chore(deps-dev): bump @babel/preset-env from 7.11.0 to 7.11.5
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.11.0 to 7.11.5.
- [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.11.5/packages/babel-preset-env)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-01 07:47:17 +00:00
dependabot-preview[bot] 51165aeb26 chore(deps-dev): bump @babel/cli from 7.10.5 to 7.11.5
Bumps [@babel/cli](https://github.com/babel/babel/tree/HEAD/packages/babel-cli) from 7.10.5 to 7.11.5.
- [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.11.5/packages/babel-cli)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-01 07:44:55 +00:00
dependabot-preview[bot] 544ecadf2f chore(deps-dev): bump conventional-changelog-cli from 2.0.34 to 2.1.0
Bumps [conventional-changelog-cli](https://github.com/conventional-changelog/conventional-changelog) from 2.0.34 to 2.1.0.
- [Release notes](https://github.com/conventional-changelog/conventional-changelog/releases)
- [Commits](https://github.com/conventional-changelog/conventional-changelog/compare/conventional-changelog-cli@2.0.34...conventional-changelog-cli@2.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-01 07:42:58 +00:00
dependabot-preview[bot] ebd0933866 chore(deps-dev): bump @babel/core from 7.11.1 to 7.11.5
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.11.1 to 7.11.5.
- [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.11.5/packages/babel-core)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-01 07:41:14 +00:00
dependabot-preview[bot] 8b28df6579 chore(deps-dev): bump @types/react from 16.9.43 to 16.9.49
Bumps [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react) from 16.9.43 to 16.9.49.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-01 07:39:21 +00:00
dependabot-preview[bot] b41d6193fc chore(deps-dev): bump eslint from 7.6.0 to 7.8.0
Bumps [eslint](https://github.com/eslint/eslint) from 7.6.0 to 7.8.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.6.0...v7.8.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-01 07:35:51 +00:00
Justinas Reigis 327ccf6fb9 docs: update scroll event api for flat list (#519) 2020-08-31 10:07:58 +02:00
Michał Pierzchała 64bbde4c2a chore: test website on CI (#511) 2020-08-17 15:47:49 +02:00
Michał Pierzchała c5e9b71131 chore(docs): followup fixes for docusaurs alpha.61 (#510)
* fix links

* update projectName to reference the one on github
2020-08-17 14:56:24 +02:00
Michał Pierzchała e49030b553 chore(docs): bump docusaurus to alpha.61 (#509) 2020-08-17 14:25:20 +02:00
Michał Pierzchała 0aa9465856 v7.0.2 v7.0.2 2020-08-16 21:28:12 +02:00
AugustinLF 9f6ca56ac0 fix: Return closest Text matching a query (#489)
* fix: Return closest Text matching a query

* Add test for another edge case

* Fix whitespaces

* adjust comment

* Update src/helpers/getByAPI.js

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

* update test

* use queryBy

Co-authored-by: Michał Pierzchała <thymikee@gmail.com>
Co-authored-by: Maciej Jastrzebski <mdjastrzebski@gmail.com>
2020-08-16 21:26:29 +02:00
dependabot-preview[bot] 2536b8b5a0 chore(deps-dev): bump @babel/preset-env from 7.10.2 to 7.11.0
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.10.2 to 7.11.0.
- [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.11.0/packages/babel-preset-env)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-12 17:03:32 +00:00
dependabot-preview[bot] 74603064a0 chore(deps-dev): bump eslint from 7.5.0 to 7.6.0
Bumps [eslint](https://github.com/eslint/eslint) from 7.5.0 to 7.6.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.5.0...v7.6.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-12 16:58:46 +00:00
dependabot-preview[bot] 9576807a5d chore(deps-dev): bump @babel/core from 7.10.4 to 7.11.1
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.10.4 to 7.11.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.11.1/packages/babel-core)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-12 16:55:45 +00:00
dependabot-preview[bot] 5f7546430c chore(deps-dev): bump @babel/cli from 7.10.4 to 7.10.5
Bumps [@babel/cli](https://github.com/babel/babel/tree/HEAD/packages/babel-cli) from 7.10.4 to 7.10.5.
- [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.10.5/packages/babel-cli)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-12 16:55:26 +00:00
dependabot-preview[bot] ce46e0d4a3 chore(deps-dev): bump @types/react-test-renderer from 16.9.2 to 16.9.3
Bumps [@types/react-test-renderer](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-test-renderer) from 16.9.2 to 16.9.3.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-test-renderer)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-12 16:55:20 +00:00
dependabot-preview[bot] a8659d07f6 chore(deps-dev): bump release-it from 13.6.5 to 13.6.6
Bumps [release-it](https://github.com/release-it/release-it) from 13.6.5 to 13.6.6.
- [Release notes](https://github.com/release-it/release-it/releases)
- [Changelog](https://github.com/release-it/release-it/blob/master/CHANGELOG.md)
- [Commits](https://github.com/release-it/release-it/compare/13.6.5...13.6.6)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-12 16:55:13 +00:00
Michał Pierzchała ae342120db chore: bump jest to 26.3 (#503) 2020-08-12 18:50:29 +02:00
Michał Pierzchała 1ec340c8a0 docs: adjust wording around debug (#502) 2020-08-12 18:48:37 +02:00
Alireza Ghamkhar 6bf86f915f Fix the type bug for queryAllByTestId (#498) 2020-08-11 17:41:02 +02:00
dependabot[bot] 17d5165980 chore(deps): bump prismjs from 1.20.0 to 1.21.0 in /website (#490)
Bumps [prismjs](https://github.com/PrismJS/prism) from 1.20.0 to 1.21.0.
- [Release notes](https://github.com/PrismJS/prism/releases)
- [Changelog](https://github.com/PrismJS/prism/blob/master/CHANGELOG.md)
- [Commits](https://github.com/PrismJS/prism/compare/v1.20.0...v1.21.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-10 10:57:53 +02:00
dependabot-preview[bot] 2733eff601 chore(deps-dev): bump @types/react-native from 0.63.2 to 0.63.6 (#492)
Bumps [@types/react-native](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-native) from 0.63.2 to 0.63.6.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-native)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-08-10 10:57:33 +02:00
Alireza Ghamkhar aa285a06f7 docs: add a new link to External Resources (#491)
This is a youtube tutorial on a simple setup and usage for React Native Testing Library & Jest Native
2020-08-10 10:52:37 +02:00
Michał Pierzchała 292e883611 v7.0.1 v7.0.1 2020-07-31 10:35:11 +02:00
Maciej Jastrzebski 00a50a89b3 fix: fire event should not throw for disabled handler (#470)
* updated tests

* feat: implement behavior chage

* code review changes

* refactor: more strict test conditions
2020-07-31 10:34:00 +02:00
dependabot-preview[bot] a766905183 chore(deps-dev): bump @types/react-native from 0.63.1 to 0.63.2 (#454)
Bumps [@types/react-native](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-native) from 0.63.1 to 0.63.2.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-native)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-07-30 23:49:20 +02:00
Michał Pierzchała cc5ef6c626 v7.0.0 v7.0.0 2020-07-30 16:18:25 +02:00
Michał Pierzchała 0e3f654b27 docs: small amendments to the migration guide 2020-07-30 16:13:15 +02:00
Michał Pierzchała aa411c0d79 docs: refresh readme and getting started guide 2020-07-30 16:13:15 +02:00
Nick McCurdy 7909558763 docs: fix typo in migration v7 doc (#465) 2020-07-30 16:13:15 +02:00
Maciej Jastrzebski 9de58e845b fix: added migration guide v7 to website sidebar (#464) 2020-07-30 16:13:15 +02:00
Maciej Jastrzebski f971c244cb Added migration v7 link to README 2020-07-30 16:13:15 +02:00
Michał Pierzchała 3c0a2ecf02 chore(breaking): rename to @testing-library/react-native (#463) 2020-07-30 16:13:15 +02:00
Maciej Jastrzebski 5adf148de5 feat: prevent events on disabled elements (#460)
* feat: add tests

* feat: prevent event handling on disabled element

* refactor: code cleanup

* feat: use props.onStartShouldSetResponder to check for event handling

* refactor: code review changes

* feat: updated docs

* feat: added test for fake 'disabled' prop
2020-07-30 16:13:15 +02:00
Maciej Jastrzebski 37f0c42a1f fix: update package name in docs (#462)
* fix: package reference in docs

* fix: more references to package name

* Update README.md

Co-authored-by: Michał Pierzchała <thymikee@gmail.com>

* Update website/docs/GettingStarted.md

Co-authored-by: Michał Pierzchała <thymikee@gmail.com>

* Update website/docs/API.md

Co-authored-by: Michał Pierzchała <thymikee@gmail.com>
2020-07-30 16:13:15 +02:00
Maciej Jastrzebski 3f88cacbc6 feat: add getQueriesForElement alias to within (#461)
* feat: getQueriesForElement alias implementation & test

* feat: added typescript types and tests

* feat: updated docs
2020-07-30 16:13:15 +02:00
Michał Pierzchała ae5f9d8e97 docs: add migration to v7 guide (#456)
* docs: add migration to v7 guide

* adjust note about ByTitle because there's no host Button component

* add fire event section

* mention NativeTestInstance and container

* Update website/docs/MigrationV7.md

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

* Update website/docs/MigrationV7.md

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

* Update website/docs/MigrationV7.md

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

* Update website/docs/MigrationV7.md

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

Co-authored-by: Maciej Jastrzebski <mdjastrzebski@gmail.com>
2020-07-30 16:13:15 +02:00
Michał Pierzchała 6d63a4f29e feat(breaking): rename ByPlaceholder to ByPlaceholderText (#455) 2020-07-30 16:13:15 +02:00
dependabot-preview[bot] 7feab6c6da chore(deps-dev): bump @testing-library/jest-native from 3.1.0 to 3.3.0 (#466)
Bumps [@testing-library/jest-native](https://github.com/testing-library/jest-native) from 3.1.0 to 3.3.0.
- [Release notes](https://github.com/testing-library/jest-native/releases)
- [Changelog](https://github.com/testing-library/jest-native/blob/master/CHANGELOG.md)
- [Commits](https://github.com/testing-library/jest-native/compare/v3.1.0...v3.3.0)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-07-30 13:06:13 +02:00
dependabot[bot] 85f8eff060 chore(deps): bump elliptic from 6.5.2 to 6.5.3 in /website (#467)
Bumps [elliptic](https://github.com/indutny/elliptic) from 6.5.2 to 6.5.3.
- [Release notes](https://github.com/indutny/elliptic/releases)
- [Commits](https://github.com/indutny/elliptic/compare/v6.5.2...v6.5.3)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-07-30 13:05:47 +02:00
Michał Pierzchała 9a13eccdad v2.2.0 v2.2.0 2020-07-30 13:00:26 +02:00
dependabot-preview[bot] 64759e1f9b chore(deps-dev): bump react-native from 0.63.1 to 0.63.2 (#451)
Bumps [react-native](https://github.com/facebook/react-native) from 0.63.1 to 0.63.2.
- [Release notes](https://github.com/facebook/react-native/releases)
- [Changelog](https://github.com/facebook/react-native/blob/master/Releases.md)
- [Commits](https://github.com/facebook/react-native/compare/v0.63.1...v0.63.2)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-07-23 23:24:05 +02:00
dependabot[bot] f0c7b0cce8 chore(deps): bump lodash from 4.17.15 to 4.17.19 in /website (#441)
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.15 to 4.17.19.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.19)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-07-21 15:47:47 +02:00
dependabot-preview[bot] d640137ee6 chore(deps-dev): bump eslint from 7.4.0 to 7.5.0 (#449)
Bumps [eslint](https://github.com/eslint/eslint) from 7.4.0 to 7.5.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.4.0...v7.5.0)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-07-21 15:47:35 +02:00