TestCompromisedError
Hierarchy
- RuntimeError
- TestCompromisedError
Index
Methods
staticfromJSON
Parameters
serialised: JSONObject
Returns TestCompromisedError
toString
Human-readable description of the error
Returns string
toJSON
Returns object
Properties
externalname
externalmessage
externaloptionalstack
publicoptionalreadonlycause
The root cause of this RuntimeError, if any
Constructors
constructor
Parameters
message: string
Human-readable description of the error
optionalcause: Error
The root cause of this RuntimeError, if any
Returns TestCompromisedError
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