Skip to content

Commit 2c41971

Browse files
xfumihiroSimenB
authored andcommitted
update README (#4)
1 parent a5a3ef2 commit 2c41971

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ Then configure the rules you want to use under the rules section.
3232
"jest/no-disabled-tests": "warn",
3333
"jest/no-focused-tests": "error",
3434
"jest/no-identical-title": "error",
35+
"jest/prefer-to-have-length": "warn",
3536
"jest/valid-expect": "error"
3637
}
3738
}
@@ -54,6 +55,7 @@ You can also whitelist the environment variables provided by Jest by doing:
5455
* [no-focused-tests](/docs/rules/no-focused-tests.md) - disallow focused tests.
5556
* [no-identical-title](/docs/rules/no-identical-title.md) - disallow identical
5657
titles.
58+
* [prefer-to-have-length](/docs/rules/prefer-to-have-length.md) - suggest using toHaveLength().
5759
* [valid-expect](/docs/rules/valid-expect.md) - ensure expect is called
5860
correctly.
5961

@@ -82,6 +84,7 @@ The rules enabled in this configuration are:
8284
* [jest/no-disabled-tests](/docs/rules/no-disabled-tests.md)
8385
* [jest/no-focused-tests](/docs/rules/no-focused-tests.md)
8486
* [jest/no-identical-title](/docs/rules/no-identical-title.md)
87+
* [jest/prefer-to-have-length](/docs/rules/prefer-to-have-length.md)
8588
* [jest/valid-expect](/docs/rules/valid-expect.md)
8689

8790
## Credit

0 commit comments

Comments
 (0)