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:
5555* [ no-focused-tests] ( /docs/rules/no-focused-tests.md ) - disallow focused tests.
5656* [ no-identical-title] ( /docs/rules/no-identical-title.md ) - disallow identical
5757 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() ` .
5960* [ valid-expect] ( /docs/rules/valid-expect.md ) - ensure expect is called
6061 correctly.
6162
Original file line number Diff line number Diff line change 11# Suggest using ` toHaveLength() ` (prefer-to-have-length)
22
33In 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.
55
66## Rule details
77
You can’t perform that action at this time.
0 commit comments