We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
require-to-throw-message
1 parent d76e05f commit 3526213Copy full SHA for 3526213
docs/rules/require-to-throw-message.md
@@ -1,4 +1,4 @@
1
-# Require a message for `toThrow()` (require-tothrow-message)
+# Require a message for `toThrow()` (require-to-throw-message)
2
3
`toThrow()`, and its alias `toThrowError()`, are used to check if an error is
4
thrown by a function call, such as in `expect(() => a()).toThrow()`. However, if
0 commit comments