Skip to content

Commit

Permalink
fix: typo in the require-to-throw-message docs (#487)
Browse files Browse the repository at this point in the history
  • Loading branch information
erunion authored and G-Rath committed Nov 27, 2019
1 parent d76e05f commit 3526213
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/rules/require-to-throw-message.md
@@ -1,4 +1,4 @@
# Require a message for `toThrow()` (require-tothrow-message)
# Require a message for `toThrow()` (require-to-throw-message)

`toThrow()`, and its alias `toThrowError()`, are used to check if an error is
thrown by a function call, such as in `expect(() => a()).toThrow()`. However, if
Expand Down

0 comments on commit 3526213

Please sign in to comment.