externalTestCompromisedError
Hierarchy
- RuntimeError
- TestCompromisedError
Index
Constructors
externalconstructor
Parameters
externalmessage: string
Human-readable description of the error
externaloptionalcause: Error
The root cause of this
RuntimeError
, if any
Returns TestCompromisedError
Properties
publicexternaloptionalreadonlycause
The root cause of this RuntimeError
, if any
externalname
externalmessage
externaloptionalstack
Methods
staticexternalfromJSON
Parameters
externalserialised: JSONObject
Returns TestCompromisedError
externaltoString
Human-readable description of the error
Returns string
externaltoJSON
Returns object
Thrown to indicate that the test can't be performed due to an issue with a downstream dependency. For example, it makes no sense to run a full-stack integration test if we already know that the database server is down.
Throwing a TestCompromisedError from a custom Interaction