You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/rules/prefer-in-document.md
+3-2
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
3
3
💼 This rule is enabled in the ✅ `recommended` config.
4
4
5
-
🔧 This rule is automatically fixable by the [`--fix` CLI option](https://eslint.org/docs/latest/user-guide/command-line-interface#--fix).
5
+
🔧💡 This rule is automatically fixable by the [`--fix` CLI option](https://eslint.org/docs/latest/user-guide/command-line-interface#--fix) and manually fixable by [editor suggestions](https://eslint.org/docs/developer-guide/working-with-rules#providing-suggestions).
6
6
7
7
<!-- end auto-generated rule header -->
8
8
@@ -11,6 +11,7 @@
11
11
This rule enforces checking existance of DOM nodes using `.toBeInTheDocument()`.
12
12
The rule prefers that matcher over various existance checks such as `.toHaveLength(1)`, `.not.toBeNull()` and
13
13
similar.
14
+
However it's considered OK to use `.toHaveLength(value)` matcher with `*AllBy*` queries.
0 commit comments