You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Compares two values to determine if they are instances of {@linkcode Error}
10
-
* and have the same {@linkcode Error.name | name}
11
-
* and {@linkcode Error.message | message} properties.
12
-
*
13
-
* @param actualError - The actual error to compare.
14
-
* @param expectedError - The expected error to compare against.
15
-
* @returns `true` if both values are instances of {@linkcode Error} and have the same {@linkcode Error.name | name} and {@linkcode Error.message | message}.
16
-
*
17
-
* @example
18
-
* <caption>#### __Pass: The actual error is an instance of `TypeError` with the same `message` ✔️__</caption>
0 commit comments