Commit Graph

1060 Commits

Author SHA1 Message Date
Maciej Jastrzębski 12abbe0b78 chore: create yarn lock 2024-10-18 15:55:38 +02:00
Maciej Jastrzębski 2d434d7e15 Merge branch 'main' into poc/custom-renderer
# Conflicts:
#	package.json
#	src/__tests__/__snapshots__/render-debug.test.tsx.snap
#	yarn.lock
2024-10-18 15:54:16 +02:00
dependabot[bot] 0305877e50 chore(deps-dev): bump @release-it/conventional-changelog (#1675)
Bumps [@release-it/conventional-changelog](https://github.com/release-it/conventional-changelog) from 8.0.1 to 9.0.0.
- [Release notes](https://github.com/release-it/conventional-changelog/releases)
- [Commits](https://github.com/release-it/conventional-changelog/compare/8.0.1...9.0.0)

---
updated-dependencies:
- dependency-name: "@release-it/conventional-changelog"
  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>
2024-10-18 15:51:47 +02:00
George Raphael 7bc0d5dbe9 Update queries.mdx (#1680)
Remove unnecessary 'the' from sentence in documentation
2024-10-18 14:35:03 +02:00
Maciej Jastrzebski 0e8555066e chore: React Native 0.76 support (#1664) 2024-10-18 11:10:22 +02:00
Maciej Jastrzebski 1fb75520c3 chore: simplify find-all 2024-10-17 22:31:15 +02:00
Maciej Jastrzebski a9b0b44cfd refactor: renderer API to be more similar to React DOM 2024-10-17 22:13:54 +02:00
Maciej Jastrzebski cf4b8b7fc5 chore: reduce act warnings 2024-10-16 13:17:29 +02:00
Maciej Jastrzebski ddc8da79c2 chore: filter expected errors 2024-10-16 13:06:34 +02:00
Maciej Jastrzebski 8f3bda19e8 chore: remove test renderer dep 2024-10-16 12:55:26 +02:00
Maciej Jastrzebski 08747ea6b2 chore: migrate act from RTL 2024-10-16 12:47:58 +02:00
Maciej Jastrzebski 12b4f76a4f refactor: cleanup renderer code 2024-10-16 12:27:23 +02:00
Maciej Jastrzebski 95030fb40f chore: remove redundant string validation feature 2024-10-16 11:19:36 +02:00
Maciej Jastrzebski 8b8c135d98 chore: remove irrelevant tests 2024-10-16 11:16:31 +02:00
Maciej Jastrzebski 9e7b1abbc6 chore: fix *ByType typing 2024-10-16 11:11:53 +02:00
Maciej Jastrzebski 09fbb4c7c6 refactor: replace UNSAFE_root with container 2024-10-16 10:56:57 +02:00
Maciej Jastrzebski c4a03a3070 refactor: checks 2024-10-16 10:54:12 +02:00
Maciej Jastrzebski ecc2b7f08e refactor: simplify navigation 2024-10-16 10:38:56 +02:00
Maciej Jastrzebski abe8d71eaf refactor: inline host parent getter 2024-10-16 10:33:26 +02:00
Maciej Jastrzebski 806c9f86db refactor: fix typecheck and lint 2024-10-16 10:29:31 +02:00
Maciej Jastrzebski aa182d1747 refactor: use HostElement type in place of ReactTestInstance 2024-10-16 10:21:26 +02:00
Maciej Jastrzebski 529533202b chore: remove dead code 2024-10-16 09:17:52 +02:00
Maciej Jastrzebski 989e1e6648 chore: remove dead code 2024-10-15 13:26:03 +02:00
Maciej Jastrzebski 4569f467e3 chore: fix typecheck & lint 2024-10-15 13:00:41 +02:00
Maciej Jastrzebski 50ad609a94 chore: fix remaining tests, disable not relevant ones 2024-10-15 12:58:30 +02:00
Maciej Jastrzebski 26992a1ac3 feat: support string not in Text error 2024-10-15 12:46:18 +02:00
Maciej Jastrzebski 56715a9bbb chore: workaround for fireEvent.press 2024-10-14 11:29:44 +02:00
dependabot[bot] 19da22c243 chore(deps-dev): bump del-cli from 5.1.0 to 6.0.0 (#1673)
Bumps [del-cli](https://github.com/sindresorhus/del-cli) from 5.1.0 to 6.0.0.
- [Release notes](https://github.com/sindresorhus/del-cli/releases)
- [Commits](https://github.com/sindresorhus/del-cli/compare/v5.1.0...v6.0.0)

---
updated-dependencies:
- dependency-name: del-cli
  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>
2024-10-09 17:32:49 +02:00
Steve Galili f314fe007f docs: cookbook shoutout ready (#1672)
* update cookbook app libs. and fix navigation to network requests examples

* Update cookbook/README.md

* Update README.md (2)

* Update Cookbook's Intro. sec. in docs

* upload readme banner

* arranging readme assets

---------

Co-authored-by: stevegalili <steve.galili@mywheels.nl>
2024-09-30 09:28:19 +02:00
Steve Galili bd98be05c6 docs(cookbook): network requests recipes (#1655)
* squash prev commits

* remove unneeded axios mock

* set maxWorkers=2

* run with a slow test reporter

* revert: run with a slow test reporter

* Add url check to mock and further reading and alternatives

* use MSW for all API calls in cookbook test suits

* Comments with implem. explanation

* Arrange docs initially to reflect new scenario and remove jest.setTimeout

* updating docs (1)

* updating docs (2)

* updating docs with global guarding and conclusion

---------

Co-authored-by: stevegalili <steve.galili@mywheels.nl>
2024-09-18 09:51:53 +02:00
Maciej Jastrzebski c946453c00 fix: to have text content 2024-09-16 16:36:30 +02:00
Maciej Jastrzebski f88d1bbb83 feat: fix config and render-debug tests 2024-09-16 16:34:05 +02:00
Maciej Jastrzebski 7af0b70383 chore: fix render debug 2024-09-16 16:28:55 +02:00
Maciej Jastrzebski fc6e07b424 feat: fix renderHook tests 2024-09-16 16:26:57 +02:00
Maciej Jastrzebski 47da527d53 chore: fix lint & typecheck 2024-09-16 16:23:16 +02:00
Maciej Jastrzebski ea795badd8 refactor: centralize renderer selection 2024-09-16 16:16:40 +02:00
Maciej Jastrzebski e5eb0c318c feat: more passing tests 2024-09-16 16:13:41 +02:00
Maciej Jastrzebski 43ed115284 chore: expand test coverage 2024-09-16 13:26:57 +02:00
Maciej Jastrzebski eaf3e1c398 feat: support more tests 2024-09-16 13:15:52 +02:00
Maciej Jastrzebski ef086f45ab feat: dynamic HostElement prop calculation 2024-09-16 11:00:08 +02:00
Maciej Jastrzebski f0e3acb1b5 feat: pass first tests 2024-09-16 09:36:43 +02:00
Maciej Jastrzebski cdc7c689ad chore: implement root, update & unmount 2024-09-15 21:46:47 +02:00
Maciej Jastrzebski 38ef431a0f feat: working toJSON method 2024-09-15 20:56:33 +02:00
Maciej Jastrzebski 5186552672 refactor: refactods 2024-09-15 19:06:22 +02:00
Maciej Jastrzebski c321efdf2d feat: basic rendered implementation 2024-09-14 22:58:05 +02:00
Maciej Jastrzebski e8a72c4eb8 chore: wip 2024-09-14 19:32:41 +02:00
Maciej Jastrzebski cf2a107154 refactor: bring config host 2024-09-14 19:05:30 +02:00
Maciej Jastrzebski 60dd2e6c45 chore: release 12.7.2 v12.7.2 2024-09-12 11:58:34 +02:00
Maciej Jastrzebski 7ba47b812d fix: use native state across the queries and matchers (#1667)
* fix: improve text input value getting in type, clear, paste

* chore: migrate other use-cases to use `getTextInputValue`

* chore: add relevant tests

* refactor: self code review

* refactor: self code review
2024-09-12 11:54:37 +02:00
Maciej Jastrzebski 839001124d chore: update examples RNTL dep 2024-09-12 09:25:28 +02:00