expect
Creates a new Assertion object, ready to evaluate the given value.
expect<T>(value: T, name?: string): Assertion<unknown>
Parameters
- value — The value to be evaluated
- name — An optional name for the assertion, used in error messages
Related
- class AssertionRepresents a value ready to be asserted.