102 Commits

Author SHA1 Message Date
Maciej Jastrzebski 64e1e32737 docs: fix readme (#1620)
* docs: fix readme

* docs: tweak home page
2024-05-24 19:22:30 +02:00
Maciej Jastrzebski 49618c6019 docs: fix links (#1618) 2024-05-24 15:33:28 +02:00
Maciej Jastrzebski a5a0816d88 chore: rename ci workflow (#1615)
* chore: rename CI workflow for badge clarity

* chore: update badge
2024-05-23 13:37:08 +02:00
Maciej Jastrzebski 0e129296ce chore: readme tweaks (#1614)
* chore: readme tweaks
* chore: tweak
2024-05-23 12:57:44 +02:00
Maciej Jastrzebski 913a19bbcb docs: API overview tweaks (#1599)
* docs: api overview tweaks

* docs: update README
2024-04-30 11:07:41 +02:00
Maciej Jastrzebski 8ecd1c5966 Update README.md 2024-04-30 10:50:46 +02:00
Maciej Jastrzebski 6a623a82e2 docs: update README (#1598) 2024-04-30 10:49:24 +02:00
Maciej Jastrzebski f2b4754fca docs: update README 2024-04-30 10:44:05 +02:00
Italo A b9c9d041ba fix: Rally Health link into readme (#1591) 2024-04-26 17:27:03 +02:00
Maciej Jastrzebski 73bef94a4b docs: improve api docs (#1590) 2024-04-25 14:37:01 +02:00
Maciej Jastrzebski bab4097836 chore: update deps 2024-03-12 (#1570)
* chore: update 1

* chore: update @types/*

* chore: update react native

* chore: update eslint & typescript

* chore: fix lint

* chore: upgrade release it

* chore: reformat

* chore: disable flow validation
2024-03-12 11:37:06 +01:00
Steve Galili 4e148bdb05 chore: tweak docs and examples to match recommended practices 2024 (use screen object for queries) (#1561)
* chore: tweak docs and examples to match modern usage of lib.

Use screen object for queries (pt.1)

Use screen object for queries (pt.2)

update render docs to modern screen API and fix lint

* refactor: code review tweaks

---------

Co-authored-by: Maciej Jastrzębski <mdjastrzebski@gmail.com>
2024-03-11 22:46:07 +01:00
Maciej Jastrzebski 67fb7177cf docs: update community resources (#1558)
* docs: update community resources

* docs: fix typos
2024-01-26 15:42:28 +00:00
Maciej Jastrzebski 2bce396a46 docs: expose jest matchers publically (docs, examples, etc) (#1523)
* docs: update references to Jest Native

* chore: update docs

* chore: update example apps

* docs: update

* chore: upgrade example apps

* chore: self code review

* chore: docs tweaks

* docs: code review changes
2023-11-14 12:23:24 +01:00
Maciej Jastrzebski 84ba56e56f docs: Jest matchers docs (#1506)
* docs: v1 of jest matchers docs

* chore: add TOC

* chore: tweak heading levels

* docs: tweaks

* docs: cross references

* docs: tweaks

* docs: tweaks

* docs: tweaks

* Update website/docs/JestMatchers.md

Co-authored-by: Pierre Zimmermann <64224599+pierrezimmermannbam@users.noreply.github.com>

* Update website/docs/JestMatchers.md

Co-authored-by: Pierre Zimmermann <64224599+pierrezimmermannbam@users.noreply.github.com>

* Update website/docs/JestMatchers.md

Co-authored-by: Pierre Zimmermann <64224599+pierrezimmermannbam@users.noreply.github.com>

* Update website/docs/JestMatchers.md

Co-authored-by: Pierre Zimmermann <64224599+pierrezimmermannbam@users.noreply.github.com>

* Update website/docs/JestMatchers.md

Co-authored-by: Pierre Zimmermann <64224599+pierrezimmermannbam@users.noreply.github.com>

* Update website/docs/JestMatchers.md

Co-authored-by: Pierre Zimmermann <64224599+pierrezimmermannbam@users.noreply.github.com>

* Update website/docs/MigrationJestMatchers.md

Co-authored-by: Pierre Zimmermann <64224599+pierrezimmermannbam@users.noreply.github.com>

* Update website/docs/MigrationJestMatchers.md

Co-authored-by: Pierre Zimmermann <64224599+pierrezimmermannbam@users.noreply.github.com>

* docs: spellchecking

* chore: final fixes

---------

Co-authored-by: Pierre Zimmermann <64224599+pierrezimmermannbam@users.noreply.github.com>
2023-11-09 17:10:50 +01:00
Jovan Goh b0194791ad fix: change broken hyperlink in README.md (#1520) 2023-11-06 22:18:14 +01:00
Maciej Jastrzebski bf600e1016 Update README.md 2023-05-10 12:17:54 +02:00
Maciej Jastrzebski 7564bb5703 Update README.md 2023-05-09 11:40:37 +02:00
Maciej Jastrzebski f9af8306c2 Update README.md (#1407) 2023-05-09 11:34:05 +02:00
Maciej Jastrzebski 3eebab255b Add migration link to readme 2023-03-17 11:48:05 +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
MattAgn 860356be06 feat: option for queries to respect accessibility (#1064)
Co-authored-by: Maciej Jastrzebski <mdjastrzebski@gmail.com>
2022-11-04 22:44:50 +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
Maciej Jastrzebski 6108b95552 docs: troubleshooting guilde (#1065) 2022-08-18 14:26:39 +02:00
HeeCheolKim cdfe1bde4c Update README.md (#1036) 2022-08-08 16:01:00 +02:00
Maciej Jastrzebski a80e0c338b docs: v11 migration guide (#1021)
* docs: v11 migration guide

* docs: tweaks

* docs: more tweaks

* tweaks
2022-07-25 16:23:57 +02:00
Maciej Jastrzebski f6fe982f65 docs: create document describing act function and related errors (#969)
* docs: initial act doc

* self code review

* docs: self code review

* docs: applied type fixes

* docs: further updates
2022-07-19 12:00:03 +02:00
Maciej Jastrzebski 5d681790bf feat: add screen API (#994)
* feature: screen

* feature: update docs

* refactor: add flow type

* docs: more

* docs: final tweaks

* test rerender

* code review changes

* alias RenderResult to RenderAPI

Co-authored-by: Michał Pierzchała <thymikee@gmail.com>
2022-06-24 13:17:06 +02:00
Augustin Le Fèvre 1360b73295 feat(breaking): migrate Flow to TS; remove some deprecated functions and aliases (#881)
* Port types to TS

* Fix CI commands

* Fix typo in yml file

* Address PR comments

* Remove aliased accessibility queries

* Add flow types

* Update build to support TS

* Clean up removed aliased queries

* Move @babel/plugin-transform-flow-strip-types to test config

* Address PR comments

* Delete flow tests

* Retrigger pipeline

* Update src/helpers/timers.ts

Co-authored-by: Michał Pierzchała <thymikee@gmail.com>
2022-03-25 16:54:30 +01:00
Nick McCurdy b6ec6b0198 chore: rename default branch to main (#784) 2021-10-15 20:39:35 +02:00
Güven Karanfil 2f5208b93b docs: fix minimum react-native version for async act to 0.61 (#836) 2021-10-15 20:09:34 +02:00
Michał Chudziak 6d6c46e28a Add Callstack reference (#758) 2021-06-25 15:02:12 +02:00
Michał Pierzchała 62ccd08e13 feat: expose custom Jest preset restoring global Promise (#695)
* feat: expose custom Jest preset restoring global Promise

* typo
2021-03-02 14:24:56 +01:00
Rsmouki f81ebc39d5 docs: fix typo in README.md (#657)
The jest.config file extention should be ".json" instead of  ".js"
2021-01-25 10:02:52 +01:00
Ryosuke c9d4809e8f fix: small typo (#575)
Noticed a small typo. Not sure if I should submit to this branch or if there's a "next" style branch? but easy edit to transfer either way 😄
2020-10-17 13:12:00 +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 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
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 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
Steve Galili 1537de317d docs: add links to external resources in the README (#446)
* Update README.md

* Update README.md
2020-07-21 10:15:44 +02:00
Paul Cowgill 2bf4fcf943 docs: fix a link to react-testing-library (#412) 2020-06-30 17:18:43 +02:00
Maciej Jastrzebski 300d16b822 feature: wait for element to be removed (#376)
* feature: basic implementation

* feature: basic implementation

* feature: added typescript types

* feature: check if element exists initially

* resolve promise with initial elements

* docs: README & API

* use ErrorWithStack helper

Co-authored-by: Michał Pierzchała <thymikee@gmail.com>
2020-06-10 08:17:01 +02:00
Michał Pierzchała 2e4594f868 docs: clarify configuration to incluude preset react-native (#362) 2020-05-30 20:18:35 +02:00
Maciej Jastrzebski 9e50bff6ab chore(breaking): deprecate flushMicrotasksQueue (#340)
* Deprecated flushMicrotasksQueue

* Update website/docs/Migration20.md

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

* Renamed flushMicrotasksQueueInternal to flushMicroTasks

Co-authored-by: Michał Pierzchała <thymikee@gmail.com>
2020-05-28 15:06:04 +02:00
Maciej Jastrzebski 9fc83fec60 Feat(breaking): remove deprecated functions (#334)
* WIP

* More changes

* WIP

* Added throwRemovedFunctionError docsRef

* Fixed tests

* Typescript types cleanup

* Cleanup

* Moving some changes from `prepare-2` branch

* Moving some changes from `prepare-2` branch

* Update src/waitFor.js

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

* Update website/docs/Migration20.md

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

* Code review changes

* More code review changes

* Code review changes

* More code review changes

* Added @deprecated messages for TS type defs

* Spelling mistake

* Reformatted index.d.ts

* Removed remaining refs to warnFn

Co-authored-by: Michał Pierzchała <thymikee@gmail.com>
2020-05-28 15:06:04 +02:00
Maciej Jastrzebski 5e798bc2e3 Feat(breaking): unify wait for element signature with testing library (#327)
* Change argument to options object

* Renamed `waitForElement` to `waitFor`

* Migration guide entry

* Fixed typescript check

* Update src/helpers/a11yAPI.js

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

* (Nearly) Empty migration doc for ver. 2.0 (#326)

* Added migration docs section

* Added to docosaurus side bar

* Updated README

* Increased async test timeout

* Update website/docs/Migration20.md

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

* feat(breaking): remove legacy `debug` export (#328)

* Removed global `debug` functions

* Removed global `debug` from docs

* Cleanup

* Added migration section

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

Co-authored-by: Michał Pierzchała <thymikee@gmail.com>
2020-05-28 15:06:04 +02:00
Maciej Jastrzebski b3e5ca386c (Nearly) Empty migration doc for ver. 2.0 (#326)
* Added migration docs section

* Added to docosaurus side bar

* Updated README

* Increased async test timeout

* Update website/docs/Migration20.md

Co-authored-by: Michał Pierzchała <thymikee@gmail.com>
2020-05-28 15:06:04 +02:00