BUPKIS
    Preparing search index...

    Interface ExpectSyncProps<SyncAssertion, AsyncAssertion>

    Properties of expect.

    interface ExpectSyncProps<
        SyncAssertion extends AnySyncAssertion,
        AsyncAssertion extends AnyAsyncAssertion,
    > {
        assertions: SpreadAssertions<SyncAssertion>;
        createAssertion: CreateAssertionFn;
        createAsyncAssertion: CreateAsyncAssertionFn;
        fail: FailFn;
        it: UnionToIntersection<
            SyncAssertion extends InvariantOf<U>
                ? ExpectItFunction<U["parts"]>
                : never,
        >;
        use: UseFn<SyncAssertion, AsyncAssertion>;
    }

    Type Parameters

    Hierarchy (View Summary)

    Index

    Tuple of all assertions available in this expect().

    createAssertion: CreateAssertionFn

    Creates a new synchronous assertion.

    createAsyncAssertion: CreateAsyncAssertionFn

    Creates a new asynchronous assertion.

    fail: FailFn

    Fails immediately with optional reason.

    Reason for failure

    it: UnionToIntersection<
        SyncAssertion extends InvariantOf<U>
            ? ExpectItFunction<U["parts"]>
            : never,
    >

    Function to add more assertions to this expect(), returning a new expect() and expectAsync() pair with the combined assertions.