Class AssertionErrorOptions

Constructors

Properties

Methods

Constructors

  • Parameters

    • message: string
    • actual: any
    • expected: any
    • operator: string

    Returns AssertionErrorOptions

Properties

actual: any

The actual property on the error instance.

expected: any

The expected property on the error instance.

message?: string

If provided, the error message is set to this value.

operator: string

The operator property on the error instance.

Methods

  • Returns void

Generated using TypeDoc