Array of async assertion objects available to this expect function
Array of sync assertion objects available for
composition via use
Tuple of all assertions available in this expect()
.
Creates a new synchronous assertion.
Creates a new asynchronous assertion.
Fails immediately with optional reason
.
Factory type for creating async embeddable assertion executors.
This type generates a union of all possible expectAsync.it
function
signatures based on the available asynchronous assertions. Each assertion
contributes its own function signature to create embeddable async executors
that can be used within async object patterns for complex validation
scenarios.
The resulting functions are designed to be used exclusively within async 'to satisfy'
assertion contexts, where they provide type-safe pattern matching
for nested object structures with Promise
-based validation.
The type of a use()
function.
Properties available on asynchronous expect functions.
This interface defines the additional properties and methods that are attached to async expect functions, extending the base expect functionality with async-specific features. These properties provide access to the underlying assertions and enable function composition through the
use
method.Example