@jakobkg/expect
    Preparing search index...

    Type Alias MatcherChain<T>

    Returned by every matcher, to continue asserting on the same value.

    type MatcherChain<T> = {
        and: Expect<T>;
    }

    Type Parameters

    • T
    Index
    and: Expect<T>

    The same matchers again, for the same value.

    expect(name).toMatch(/^[a-z]+$/).and.not.toHaveLength(0);