assertcheck / AssertionErrorOptions
Interface: AssertionErrorOptions
Defined in: src/types.ts:61
Constructor options for AssertionError.
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
actual? | unknown | The value that was actually received. | src/types.ts:67 |
assertion | string | The name of the assertion function that failed (e.g. "equal"). | src/types.ts:63 |
expected? | unknown | The value or constraint that was expected. | src/types.ts:69 |
message | string | The formatted, human-readable error message. | src/types.ts:65 |