Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: update docs about eslint rule #1578

Merged
merged 3 commits into from Mar 28, 2024
Merged

docs: update docs about eslint rule #1578

merged 3 commits into from Mar 28, 2024

Conversation

mdjastrzebski
Copy link
Member

@mdjastrzebski mdjastrzebski commented Mar 27, 2024

Summary

I've run ESLint Pluging Testing Library against our codebase, and all the rules active by default made sense (for users, as our tests tend to be somewhat different then recommended end user tests). This resulted in some minor testing code tweaks.

I've "promoted" the ESLint Plugin to Getting Started part on par with Jest matchers.

Test plan

yarn start in website folder.

@mdjastrzebski mdjastrzebski merged commit 9b252f8 into main Mar 28, 2024
5 checks passed
@mdjastrzebski mdjastrzebski deleted the docs/eslint-rule branch March 28, 2024 14:38
github-merge-queue bot pushed a commit to valora-inc/wallet that referenced this pull request Apr 1, 2024
….5 (#5196)

[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[@testing-library/react-native](https://callstack.github.io/react-native-testing-library)
([source](https://togithub.com/callstack/react-native-testing-library))
| [`^12.4.3` ->
`^12.4.5`](https://renovatebot.com/diffs/npm/@testing-library%2freact-native/12.4.3/12.4.5)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@testing-library%2freact-native/12.4.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@testing-library%2freact-native/12.4.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@testing-library%2freact-native/12.4.3/12.4.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@testing-library%2freact-native/12.4.3/12.4.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>callstack/react-native-testing-library
(@&#8203;testing-library/react-native)</summary>

###
[`v12.4.5`](https://togithub.com/callstack/react-native-testing-library/releases/tag/v12.4.5)

[Compare
Source](https://togithub.com/callstack/react-native-testing-library/compare/v12.4.4...v12.4.5)

#### RNTL 12.4.5 (2024-03-28)

##### Bugfixes

- `findBy*` timeout with detached screen by
[@&#8203;mdjastrzebski](https://togithub.com/mdjastrzebski) in
[callstack/react-native-testing-library#1576

##### Other

- docs: update docs about eslint rule by
[@&#8203;mdjastrzebski](https://togithub.com/mdjastrzebski) in
[callstack/react-native-testing-library#1578

**Full Changelog**:
callstack/react-native-testing-library@v12.4.4...v12.4.5

###
[`v12.4.4`](https://togithub.com/callstack/react-native-testing-library/releases/tag/v12.4.4)

[Compare
Source](https://togithub.com/callstack/react-native-testing-library/compare/v12.4.3...v12.4.4)

#### RNTL 12.4.4 (2024-03-18)

##### Bug Fixes

- **user-event**: Decouple press events from Jest dependency by
[@&#8203;JoseLion](https://togithub.com/JoseLion) in
[callstack/react-native-testing-library#1571

#### New Contributors

- [@&#8203;retyui](https://togithub.com/retyui) made their first
contribution in
[callstack/react-native-testing-library#1567
- [@&#8203;donysukardi](https://togithub.com/donysukardi) made their
first contribution in
[callstack/react-native-testing-library#1569
- [@&#8203;JoseLion](https://togithub.com/JoseLion) made their first
contribution in
[callstack/react-native-testing-library#1571

**Full Changelog**:
callstack/react-native-testing-library@v12.4.3...v12.4.4

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "before 4am on Monday" in timezone
America/Los_Angeles, Automerge - "after 5pm,every weekend" in timezone
America/Los_Angeles.

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/valora-inc/wallet).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNjkuMiIsInVwZGF0ZWRJblZlciI6IjM3LjI2OS4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
github-merge-queue bot pushed a commit to valora-inc/wallet that referenced this pull request Apr 1, 2024
….5 (#5196)

[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[@testing-library/react-native](https://callstack.github.io/react-native-testing-library)
([source](https://togithub.com/callstack/react-native-testing-library))
| [`^12.4.3` ->
`^12.4.5`](https://renovatebot.com/diffs/npm/@testing-library%2freact-native/12.4.3/12.4.5)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@testing-library%2freact-native/12.4.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@testing-library%2freact-native/12.4.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@testing-library%2freact-native/12.4.3/12.4.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@testing-library%2freact-native/12.4.3/12.4.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>callstack/react-native-testing-library
(@&#8203;testing-library/react-native)</summary>

###
[`v12.4.5`](https://togithub.com/callstack/react-native-testing-library/releases/tag/v12.4.5)

[Compare
Source](https://togithub.com/callstack/react-native-testing-library/compare/v12.4.4...v12.4.5)

#### RNTL 12.4.5 (2024-03-28)

##### Bugfixes

- `findBy*` timeout with detached screen by
[@&#8203;mdjastrzebski](https://togithub.com/mdjastrzebski) in
[callstack/react-native-testing-library#1576

##### Other

- docs: update docs about eslint rule by
[@&#8203;mdjastrzebski](https://togithub.com/mdjastrzebski) in
[callstack/react-native-testing-library#1578

**Full Changelog**:
callstack/react-native-testing-library@v12.4.4...v12.4.5

###
[`v12.4.4`](https://togithub.com/callstack/react-native-testing-library/releases/tag/v12.4.4)

[Compare
Source](https://togithub.com/callstack/react-native-testing-library/compare/v12.4.3...v12.4.4)

#### RNTL 12.4.4 (2024-03-18)

##### Bug Fixes

- **user-event**: Decouple press events from Jest dependency by
[@&#8203;JoseLion](https://togithub.com/JoseLion) in
[callstack/react-native-testing-library#1571

#### New Contributors

- [@&#8203;retyui](https://togithub.com/retyui) made their first
contribution in
[callstack/react-native-testing-library#1567
- [@&#8203;donysukardi](https://togithub.com/donysukardi) made their
first contribution in
[callstack/react-native-testing-library#1569
- [@&#8203;JoseLion](https://togithub.com/JoseLion) made their first
contribution in
[callstack/react-native-testing-library#1571

**Full Changelog**:
callstack/react-native-testing-library@v12.4.3...v12.4.4

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "before 4am on Monday" in timezone
America/Los_Angeles, Automerge - "after 5pm,every weekend" in timezone
America/Los_Angeles.

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/valora-inc/wallet).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNjkuMiIsInVwZGF0ZWRJblZlciI6IjM3LjI2OS4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
shottah pushed a commit to zed-io/kolektivo that referenced this pull request May 15, 2024
….5 (valora-inc#5196)

[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[@testing-library/react-native](https://callstack.github.io/react-native-testing-library)
([source](https://togithub.com/callstack/react-native-testing-library))
| [`^12.4.3` ->
`^12.4.5`](https://renovatebot.com/diffs/npm/@testing-library%2freact-native/12.4.3/12.4.5)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@testing-library%2freact-native/12.4.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@testing-library%2freact-native/12.4.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@testing-library%2freact-native/12.4.3/12.4.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@testing-library%2freact-native/12.4.3/12.4.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>callstack/react-native-testing-library
(@&#8203;testing-library/react-native)</summary>

###
[`v12.4.5`](https://togithub.com/callstack/react-native-testing-library/releases/tag/v12.4.5)

[Compare
Source](https://togithub.com/callstack/react-native-testing-library/compare/v12.4.4...v12.4.5)

#### RNTL 12.4.5 (2024-03-28)

##### Bugfixes

- `findBy*` timeout with detached screen by
[@&#8203;mdjastrzebski](https://togithub.com/mdjastrzebski) in
[callstack/react-native-testing-library#1576

##### Other

- docs: update docs about eslint rule by
[@&#8203;mdjastrzebski](https://togithub.com/mdjastrzebski) in
[callstack/react-native-testing-library#1578

**Full Changelog**:
callstack/react-native-testing-library@v12.4.4...v12.4.5

###
[`v12.4.4`](https://togithub.com/callstack/react-native-testing-library/releases/tag/v12.4.4)

[Compare
Source](https://togithub.com/callstack/react-native-testing-library/compare/v12.4.3...v12.4.4)

#### RNTL 12.4.4 (2024-03-18)

##### Bug Fixes

- **user-event**: Decouple press events from Jest dependency by
[@&#8203;JoseLion](https://togithub.com/JoseLion) in
[callstack/react-native-testing-library#1571

#### New Contributors

- [@&#8203;retyui](https://togithub.com/retyui) made their first
contribution in
[callstack/react-native-testing-library#1567
- [@&#8203;donysukardi](https://togithub.com/donysukardi) made their
first contribution in
[callstack/react-native-testing-library#1569
- [@&#8203;JoseLion](https://togithub.com/JoseLion) made their first
contribution in
[callstack/react-native-testing-library#1571

**Full Changelog**:
callstack/react-native-testing-library@v12.4.3...v12.4.4

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "before 4am on Monday" in timezone
America/Los_Angeles, Automerge - "after 5pm,every weekend" in timezone
America/Los_Angeles.

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/valora-inc/wallet).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNjkuMiIsInVwZGF0ZWRJblZlciI6IjM3LjI2OS4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant