Maciej Jastrzebski
430213faa4
chore: check React Native 0.75 compatibility & deps upgrade ( #1643 )
2024-08-12 22:43:19 +02:00
Steve Galili
2f4568a29b
chore: revamp the cookbook app ( #1635 )
...
* create a Jotai examples dir in cookbook with related utils, add state management recipes dir
* add docs with examples
* extract state from component to state, utils, simplify types and custom render func.
* refactor: tweaks & cleanup
* make cookbook app runnable
* update yarn.lock file
* fix TS issue and spelling
* remove duplicate files and adjust testMatch in config to ensure no utils test run
---------
Co-authored-by: stevegalili <steve.galili@mywheels.nl >
refactor: tweak cookbook (#1636 )
* refactor: move files around
* refactor: simplify
* chore: remove custom fonts
* chore: tweak eslint
* chore: update yarn.lock
2024-07-16 11:23:36 +02:00
Steve Galili
d31c05aee3
docs: add jotai to cookbook ( #1634 )
...
* create a Jotai examples dir in cookbook with related utils, add state management recipes dir
* add docs with examples
* extract state from component to state, utils, simplify types and custom render func.
* refactor: tweaks & cleanup
---------
Co-authored-by: stevegalili <steve.galili@mywheels.nl >
Co-authored-by: Maciej Jastrzębski <mdjastrzebski@gmail.com >
2024-07-12 14:39:24 +02:00
Maciej Jastrzebski
723c8e2c04
docs: basic cookbook docs and app ( #1622 )
...
* docs: basic cookbook docs and app
* chore: add tests
* chore: enable example apps
* chore: fix typecheck
* chore: add lint & fix issues
* docs: tweaks
* docs: tweaks
* docs: tweaks
* chore: tweaks
2024-05-28 12:24:05 +02:00
Maciej Jastrzebski
e418b6b5bf
chore: enable test example apps workflow ( #1623 )
2024-05-27 22:58:08 +02:00
Maciej Jastrzebski
1b732d6d49
chore: remove stale examples ( #1608 )
2024-05-07 15:04:10 +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
Maciej Jastrzebski
a670b2d4c1
chore: upgrade basic example to expo 50 ( #1560 )
2024-01-30 09:59:44 +00:00
Maciej Jastrzebski
21254b059a
chore: reformat source using prettier ( #1550 )
...
* chore: reformat source using prettier
* chore: fix lint
2024-01-03 22:31:12 +01:00
Maciej Jastrzebski
413ad210d1
chore: update & check example packages ( #1528 )
2023-11-14 12:52:00 +01: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
817d4edb75
chore: modern yarn (4.0) ( #1517 )
...
* chore: upgrade to Yarn 4
* chore: upgrade examples/basic
* chore: add git ignores
* chore: upgrade website yarn
* chore: fix yarn scripts
* chore: git ignore tweaks
* chore: git ignore tweaks
2023-11-13 14:16:47 +01:00
Maciej Jastrzebski
08e4d022b3
chore: update deps 2023-09-18 ( #1499 )
...
* chore: upgrade example/basic deps
* chore: update some deps
* chore: upgrade other deps
* chore: fix lint
* chore: yarn upgrade (partial)
* chore: yarn upgrade (partial 2)
* chore: yarn upgrade (partial)
* chore: yarn upgrade (partial)
* chore: yarn upgrade (partial)
* chore: yarn upgrade react-native
* chore: upgrade rest (ex react-test-renderer)
2023-09-18 13:06:12 +02:00
Maciej Jastrzebski
a529a2da27
chore: apply UserEvent clear to examples/basic ( #1451 )
2023-08-14 13:16:29 +02:00
Maciej Jastrzebski
b70c07d12f
chore: update basic example with User Event ( #1438 )
...
* chore: update basic example with User Event
* chore: add fake timers
2023-08-06 17:27:12 +02:00
Maciej Jastrzebski
b2d642feb0
chore: update example deps ( #1435 )
...
* chore: upgrade expo
* chore: upgrade example deps
* chore: update other examples
2023-07-21 17:07:34 +02:00
Abdelalim-dev
144796e232
Correct second test description ( #1424 )
2023-07-13 18:35:22 +02:00
Maciej Jastrzebski
90a6169ba7
chore: update Jest Native integration example ( #1412 )
2023-05-11 17:34:47 +02:00
Maciej Jastrzebski
4256d0c83c
v12 release ( #1314 )
...
Co-authored-by: Michał Pierzchała <thymikee@gmail.com >
Co-authored-by: Pierre Zimmermann <64224599+pierrezimmermannbam@users.noreply.github.com >
2023-03-15 09:41:38 +01:00
Maciej Jastrzebski
71d5040697
chore: update examples to use toBeOnTheScreen() ( #1267 )
2023-01-03 17:52:31 +01:00
Maciej Jastrzebski
a218bbcf57
docs: refactor react-navigation example with React Nav team feedback ( #1253 )
2022-12-29 09:36:21 +01:00
Maciej Jastrzebski
a8d15a5fca
feature: update react nav example ( #1237 )
2022-12-07 21:28:35 +01:00
Maciej Jastrzebski
a178c55966
chore: update example basic app ( #1218 )
2022-11-09 10:29:10 +01:00
Maciej Jastrzebski
6aaaf78b01
docs: tweak example app README.md
2022-11-08 21:36:36 +01:00
Maciej Jastrzebski
e9aed66d7c
chore: update jest-native deps ( #1154 )
2022-09-30 13:14:22 +02:00
Maciej Jastrzebski
64bae79d39
chore: update deps to expo 46 ( #1059 )
2022-08-11 10:36:38 +02:00
Maciej Jastrzebski
038ae4a09e
feature: basic example app ( #1025 )
2022-07-28 10:24:28 +02:00
Maciej Jastrzebski
7dd403b2ea
refactor: update example apps ( #1024 )
2022-07-26 14:55:24 +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
Aleksandra Desmurs-Linczewska
199de62c74
Adding tests for React Navigation Drawer Navigator ( #624 )
...
* test - React Navigation Drawer
* docs - updated documentation for the website
* docs - added Drawer Navigator test to the website
* actioning PR suggestions
* docs - simple doc cleanup;
2021-01-08 10:36:21 +01:00
Michał
91200ef448
Updated React imports ( #629 )
...
Co-authored-by: Michał Parkitny <michal.parkitny@callstack.com >
2020-12-10 10:44:02 +01:00
Michał Pierzchała
3c0a2ecf02
chore(breaking): rename to @testing-library/react-native ( #463 )
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
Drew Miller
7c6df013ff
docs: update React Navigation tests to use find queries ( #364 )
...
* docs: update React Navigation tests to use find queries
* update test to be in sync with documentation
2020-05-31 11:58:31 +02:00
Alec Larson
ad66a5489d
feat: call "cleanup" automatically ( #238 )
...
* feat: add "cleanup" function
* docs: add "cleanup" section
* feat: automatically call "cleanup" after each test
...if an "afterEach" global function is defined, and process.env.RTL_SKIP_AUTO_CLEANUP is falsy.
Taken from: https://github.com/testing-library/react-testing-library/blob/14670debd45236d2c5d0a61a83dadc72af1bef7c/src/index.js
* docs: mention automatic cleanup
* add within
* fix lint
* Updated tests, added auto-cleanup test
* Added ways to prevent auto cleanup
* Small fix
* Code review changes
* Update website/docs/API.md
Co-authored-by: Michał Pierzchała <thymikee@gmail.com >
* More changes
* Removed afterEach(cleanup) calls in examples
* Code cleanup
Co-authored-by: Michał Pierzchała <thymikee@gmail.com >
Co-authored-by: Maciej Jastrzebski <mdjastrzebski@gmail.com >
2020-05-28 15:06:04 +02:00
Kenneth Kwakye-Gyamfi
ae3d4af370
docs: add Redux example ( #291 )
...
* Redux example
* Reviews implemented
2020-05-05 10:51:29 +02:00
Kenneth Kwakye-Gyamfi
95b4889fe9
docs: add example of testing React Navigation ( #277 )
...
* Proof of concept - CodeSandbox embed
* Prettier fix
* Moved examples below API Reference
* Created the examples directory
Includes react-navigation example
* Article on React Navigation
* Specify rootDir for testing
Prevents CI to run example tests
* remove jest-transform-stub and identity-obj-proxy, add transformIgnorePatterns
* update docs
* rearrange
* remove non-essential files
* rename Navigation -> AppNavigator
* reword comment
* add links and explanations
* remove index file, because it's not an app anyway
Co-authored-by: Michał Pierzchała <thymikee@gmail.com >
2020-04-24 11:08:52 +02:00