-
Notifications
You must be signed in to change notification settings - Fork 276
Comparing changes
Open a pull request
base repository: callstack/react-native-testing-library
base: v12.1.2
head repository: callstack/react-native-testing-library
compare: v12.1.3
- 19 commits
- 47 files changed
- 8 contributors
Commits on May 9, 2023
-
Configuration menu - View commit details
-
Copy full SHA for f9af830 - Browse repository at this point
Copy the full SHA f9af830View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7564bb5 - Browse repository at this point
Copy the full SHA 7564bb5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9906ab7 - Browse repository at this point
Copy the full SHA 9906ab7View commit details
Commits on May 10, 2023
-
feat: User Event core code (#1405)
* chore: extract user event common parts * chore: stub press/type implementations * chore: add sample tests * refactor: tweaks * chore: improve test coverage * chore: more sample tests * refactor: remove Date.now touch event timestamp * chore: hide new docs from website * feat: expose direct access
Configuration menu - View commit details
-
Copy full SHA for dab444d - Browse repository at this point
Copy the full SHA dab444dView commit details -
Configuration menu - View commit details
-
Copy full SHA for bf600e1 - Browse repository at this point
Copy the full SHA bf600e1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8c22290 - Browse repository at this point
Copy the full SHA 8c22290View commit details
Commits on May 11, 2023
-
Configuration menu - View commit details
-
Copy full SHA for ded5c36 - Browse repository at this point
Copy the full SHA ded5c36View commit details -
Configuration menu - View commit details
-
Copy full SHA for 90a6169 - Browse repository at this point
Copy the full SHA 90a6169View commit details
Commits on May 31, 2023
-
chore: switch Codecov PR comment to default behavior (#1415)
It's super annoying to get dozens of meaningless codecov notifications in my inbox every day, because of the current behavior. Switching to default to "update, if exists. Otherwise post new" Ref: https://docs.codecov.com/docs/pull-request-comments#behavior
Configuration menu - View commit details
-
Copy full SHA for ce75f66 - Browse repository at this point
Copy the full SHA ce75f66View commit details
Commits on Jun 9, 2023
-
refactor: flush microtask queue implementation (#1374)
* refactor: flush microtask queue implementation * refactor: code review changes * refactor: restore original flush function as legacy version * chore: rename file
Configuration menu - View commit details
-
Copy full SHA for 918be8c - Browse repository at this point
Copy the full SHA 918be8cView commit details
Commits on Jun 14, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 0205955 - Browse repository at this point
Copy the full SHA 0205955View commit details
Commits on Jul 13, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 144796e - Browse repository at this point
Copy the full SHA 144796eView commit details
Commits on Jul 17, 2023
-
fix: fixing TypeScript accessibility issue for custom render function (…
…#1428) * fix: export DebugFunction interface to resolve accessibility issues * feat: add DebugFunction to exported types from render module
Configuration menu - View commit details
-
Copy full SHA for 1c0fc79 - Browse repository at this point
Copy the full SHA 1c0fc79View commit details -
* feat: create first version of userEvent.press * feat: do not trigger press event when pointer events is disabled * feat: make press events bubble up when trigerring a non touch responder * tests: add test cases for userevent.press to check calls to onPressIn and onPressOut * refactor: move userEvent.press tests in a dedicated test file * feat: add pressDuration option for userEvent.press * refactor: group test that check prop calls * feat: add support for touchable opacity for userevent press * feat: add support for Text * feat: add support for TextInput for userEvent.press * refactor: add some comments to explain pointer events api * refactor: change the api of userEvent.press to make it async * feat: add support for real timers for userEvent.press * refactor: create a longPress api and remove duration option from press api * feat: add warning for users when userEvent is used with real timers * refactor: rewrite press using common user event code * refactor: remove duplicate pointerEventEnabled method * refactor: remove check on fake timers in user.press * refactor: change order of functions in press file to have exports first * feat: add delay before press * feat: wait min press duration before calling onPressout for text and textInput * chore: improve coverage * feat: account for press duration when waiting for press out * fix: wait for press duration also when pressing text or textinput * docs: add documentation on press and longpress * fix: check pointer events for Text and TextInput * chore: fixes and tweaks on userEvent docs * Update press doc based on review suggestion Co-authored-by: Maciej Jastrzebski <[email protected]> * refactor: rename pressDuration option to duration * Update longPress doc based on review suggestion Co-authored-by: Maciej Jastrzebski <[email protected]> * refactor: use ts doc for isPointerEventsEnabled method * refactor: rename file isPointerEventsEnabled to pointer-events * refactor: split test in longPress in two * refactor: use Date.now instead of new Date().getTime() * refactor: also test payload of events for press and longpress * refactor: fix typo in some longpress test names * Update src/user-event/press/utils/warnAboutRealTimers.ts Co-authored-by: Maciej Jastrzebski <[email protected]> * refactor: merge press and touch events * fix: return after pressing text or textinput * refactor: extract functions to trigger press on text/textInput * refactor: use optional chaining * feat: update warning when using userEvent with real timers * refactor: check on press test that longPress is not called * refactor: test directly warnings logged with real timers without mocking function --------- Co-authored-by: pierrezimmermann <[email protected]> Co-authored-by: Maciej Jastrzebski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1f38177 - Browse repository at this point
Copy the full SHA 1f38177View commit details -
* chore: yarn upgrade * chore: fix yarn.lock
Configuration menu - View commit details
-
Copy full SHA for 5bb5d2d - Browse repository at this point
Copy the full SHA 5bb5d2dView commit details
Commits on Jul 19, 2023
-
fix: correct type inference for props when initialProps is used (#1421)
* fix: correct type inference for props when initialProps is used * Update src/__tests__/renderHook.test.tsx * refactor: simplify type of Renderhook options --------- Co-authored-by: pierrezimmermann <[email protected]> Co-authored-by: Maciej Jastrzebski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for fa0c86e - Browse repository at this point
Copy the full SHA fa0c86eView commit details
Commits on Jul 20, 2023
-
feat: add autocomplete for fireEvent event names (#1434)
* feat: add autocomplete for fireEvent event names * feat: uncapitalize fireEvent autocomplete propositions * feat: add textinput props to the autocomplete * refactor: fix textinput props reference --------- Co-authored-by: pierrezimmermann <[email protected]> Co-authored-by: Maciej Jastrzębski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7587e69 - Browse repository at this point
Copy the full SHA 7587e69View commit details
Commits on Jul 21, 2023
-
fix: add prop to render to skip configureHostComponentNamesIfNeeded (#…
…1425) * Add prop to render to skip componentnamesconfig * refactor: render internal with extra options * refactor: apply renderInternal to renderHook * chore: add tests to check for single render * refactor: simplify code * refactor: finishing touches * chore: fix lint --------- Co-authored-by: Maciej Jastrzębski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for fcaca52 - Browse repository at this point
Copy the full SHA fcaca52View commit details -
Configuration menu - View commit details
-
Copy full SHA for 64b76b0 - Browse repository at this point
Copy the full SHA 64b76b0View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v12.1.2...v12.1.3