interface PushResultInfo

Result object passed to Assert.prototype.pushResult.

Properties

optional
result: boolean

Whether the assertion passed (true) or failed (false).

optional
actual: unknown

The actual value produced by the code under test.

optional
expected: unknown

The expected value.

optional
message: string

Human-readable description of the assertion.

Usage

import { type PushResultInfo } from ".";