From 35262135e3bb407b9c40991d2651ca4b201eebff Mon Sep 17 00:00:00 2001 From: Jon Ursenbach Date: Tue, 26 Nov 2019 17:34:56 -0800 Subject: [PATCH] fix: typo in the `require-to-throw-message` docs (#487) --- docs/rules/require-to-throw-message.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/rules/require-to-throw-message.md b/docs/rules/require-to-throw-message.md index 1a20e9e30..0109e13a3 100644 --- a/docs/rules/require-to-throw-message.md +++ b/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