File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ export type ThrowsExpectation = {
1515 /** The thrown error must be strictly equal to this value. */
1616 is ?: Error ;
1717
18- /** The thrown error must have an error that equals the given string, or matches the regular expression. */
18+ /** The thrown error must have a message that equals the given string, or matches the regular expression. */
1919 message ?: string | RegExp ;
2020
2121 /** The thrown error must have a name that equals the given string. */
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ export type ThrowsExpectation = {
2323 /** The thrown error must be strictly equal to this value. */
2424 is?: Error;
2525
26- /** The thrown error must have an error that equals the given string, or matches the regular expression. */
26+ /** The thrown error must have a message that equals the given string, or matches the regular expression. */
2727 message?: string | RegExp;
2828
2929 /** The thrown error must have a name that equals the given string. */
You can’t perform that action at this time.
0 commit comments