Contains the expect functions that will be used to test assertions.
The parameters are intentionally typed as any: the harness is a deliberate
escape hatch that fires runtime-generated values at expect/expectAsync,
so it cannot satisfy their compile-time assertion-chain validation (which
"poisons" the subject parameter to reject invalid chains). any is the only
type assignable in both directions — from the strict Expect/ExpectAsync
function values into this slot, and from this slot back out to arbitrary
subject/argument calls inside the harness.
Context for creating a property test harness.
Contains the expect functions that will be used to test assertions.
The parameters are intentionally typed as
any: the harness is a deliberate escape hatch that fires runtime-generated values atexpect/expectAsync, so it cannot satisfy their compile-time assertion-chain validation (which "poisons" the subject parameter to reject invalid chains).anyis the only type assignable in both directions — from the strictExpect/ExpectAsyncfunction values into this slot, and from this slot back out to arbitrary subject/argument calls inside the harness.