Documentation Home
This page describes a pre-release version of Jasmine (6.0.0-alpha.0). There may be additional changes, including breaking changes, before the final 6.0.0 release.
The current stable version of Jasmine is 5.12.

Interface: ThrowUnlessFailure

ThrowUnlessFailure

Represents a failure of an expectation evaluated with throwUnless. Properties of this error are a subset of the properties of ExpectationResult and have the same values.

Properties:
Name Type Description
matcherName String

The name of the matcher that was executed for this expectation.

message String

The failure message for the expectation.

Extends

  • Error