File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -55,7 +55,8 @@ You can also whitelist the environment variables provided by Jest by doing:
55
55
* [ no-focused-tests] ( /docs/rules/no-focused-tests.md ) - disallow focused tests.
56
56
* [ no-identical-title] ( /docs/rules/no-identical-title.md ) - disallow identical
57
57
titles.
58
- * [ prefer-to-have-length] ( /docs/rules/prefer-to-have-length.md ) - suggest using toHaveLength().
58
+ * [ prefer-to-have-length] ( /docs/rules/prefer-to-have-length.md ) - suggest using
59
+ ` toHaveLength() ` .
59
60
* [ valid-expect] ( /docs/rules/valid-expect.md ) - ensure expect is called
60
61
correctly.
61
62
Original file line number Diff line number Diff line change 1
1
# Suggest using ` toHaveLength() ` (prefer-to-have-length)
2
2
3
3
In order to have a better failure message, ` toHaveLength() ` should be used upon
4
- asserting expections on object's length property.
4
+ asserting expectations on object's length property.
5
5
6
6
## Rule details
7
7
You can’t perform that action at this time.
0 commit comments