Skip to content

Commit

Permalink
Fix typo in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
SimenB committed Nov 9, 2017
1 parent 2c41971 commit a7edc0c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,8 @@ You can also whitelist the environment variables provided by Jest by doing:
* [no-focused-tests](/docs/rules/no-focused-tests.md) - disallow focused tests.
* [no-identical-title](/docs/rules/no-identical-title.md) - disallow identical
titles.
* [prefer-to-have-length](/docs/rules/prefer-to-have-length.md) - suggest using toHaveLength().
* [prefer-to-have-length](/docs/rules/prefer-to-have-length.md) - suggest using
`toHaveLength()`.
* [valid-expect](/docs/rules/valid-expect.md) - ensure expect is called
correctly.

Expand Down
2 changes: 1 addition & 1 deletion docs/rules/prefer-to-have-length.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Suggest using `toHaveLength()` (prefer-to-have-length)

In order to have a better failure message, `toHaveLength()` should be used upon
asserting expections on object's length property.
asserting expectations on object's length property.

## Rule details

Expand Down

0 comments on commit a7edc0c

Please sign in to comment.