From fae097a6e30a3c551c171875ba2e1acb4a87e9d6 Mon Sep 17 00:00:00 2001 From: Maciej Jastrzebski Date: Thu, 10 Nov 2022 11:27:54 +0100 Subject: [PATCH] chore: tweak docs (#126) --- .github/ISSUE_TEMPLATE/Bug_Report.md | 2 +- .github/PULL_REQUEST_TEMPLATE.md | 3 +-- CHANGELOG.md | 4 ++-- README.md | 4 +++- 4 files changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/Bug_Report.md b/.github/ISSUE_TEMPLATE/Bug_Report.md index 863853f..c27ed9d 100644 --- a/.github/ISSUE_TEMPLATE/Bug_Report.md +++ b/.github/ISSUE_TEMPLATE/Bug_Report.md @@ -21,7 +21,7 @@ We'll probably ask you to submit the fix (after giving some direction). If you'v ### Relevant code or config: ```js -const your = code => 'here'; +const your = (code) => 'here'; ``` ### What you did: diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index c3a154d..44d1991 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -26,8 +26,7 @@ Please fill out the information below to expedite the review and (hopefully) mer -- [ ] Documentation added to the - [docs](https://github.com/testing-library/jest-native/README.md) +- [ ] Documentation added to the [docs](https://github.com/testing-library/jest-native/README.md) - [ ] Typescript definitions updated - [ ] Tests - [ ] Ready to be merged diff --git a/CHANGELOG.md b/CHANGELOG.md index 2a67529..e719b93 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,5 @@ # CHANGELOG The changelog is automatically updated using -[semantic-release](https://github.com/semantic-release/semantic-release). You -can see it on the [releases page](../../releases). +[semantic-release](https://github.com/semantic-release/semantic-release). You can see it on the +[releases page](../../releases). diff --git a/README.md b/README.md index 1de08b1..8ba1662 100644 --- a/README.md +++ b/README.md @@ -325,7 +325,9 @@ An element is visible if **all** the following conditions are met: - it does not have its style property `display` set to `none`. - it does not have its style property `opacity` set to `0`. - it is not a `Modal` component or it does not have the prop `visible` set to `false`. -- it is not hidden from accessibility as checked by [`isInaccessible`](https://callstack.github.io/react-native-testing-library/docs/api#isinaccessible) function from React Native Testing Library +- it is not hidden from accessibility as checked by + [`isHiddenFromAccessibility`](https://callstack.github.io/react-native-testing-library/docs/api/#ishiddenfromaccessibility) + function from React Native Testing Library - its ancestor elements are also visible. #### Examples