Interface ErrorMatcher
Source: test.ts
Defines the matching criteria for a test case that expects the function to throw an error.
See
Properties
[MATCH_ERROR]
readonly[MATCH_ERROR]:true
error
readonlyerror: (...args:never[]) =>Error
The type of error the function should throw.
Parameters
args
...never[]
Returns
message?
readonlyoptionalmessage?:string|RegExp
The message the error thrown by the function should have.