Permalink
Browse files

Fix type comment for message expectation

  • Loading branch information...
novemberborn committed May 30, 2018
1 parent b91f7e0 commit 673f81c3985c8b940ce97f688dfc9fc8b4c60aca
Showing with 2 additions and 2 deletions.
  1. +1 −1 index.d.ts
  2. +1 −1 index.js.flow
View
@@ -15,7 +15,7 @@ export type ThrowsExpectation = {
/** The thrown error must be strictly equal to this value. */
is?: Error;
/** The thrown error must have an error that equals the given string, or matches the regular expression. */
/** The thrown error must have a message that equals the given string, or matches the regular expression. */
message?: string | RegExp;
/** The thrown error must have a name that equals the given string. */
View
@@ -23,7 +23,7 @@ export type ThrowsExpectation = {
/** The thrown error must be strictly equal to this value. */
is?: Error;
/** The thrown error must have an error that equals the given string, or matches the regular expression. */
/** The thrown error must have a message that equals the given string, or matches the regular expression. */
message?: string | RegExp;
/** The thrown error must have a name that equals the given string. */

0 comments on commit 673f81c

Please sign in to comment.