bupkis
    Preparing search index...

    Type Alias Expect<SyncAssertions, AsyncAssertions>

    The main synchronous assertion function.

    Contains properties in ExpectSyncProps.

    Type Parameters

    Type Declaration

    Properties of expect.

    • assertions: SyncAssertions

      Tuple of all assertions available in this expect().

    • use: UseFn<SyncAssertions, AsyncAssertions>

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

    • createAssertion: CreateAssertionFn

      Creates a new synchronous assertion.

    • createAsyncAssertion: CreateAsyncAssertionFn

      Creates a new asynchronous assertion.

    • fail: FailFn

      Fails immediately with optional reason.

      Reason for failure

    expect