@wpazderski/playwright-utils
    Preparing search index...

    Internal options passed to matchers.

    interface MatcherInternalOptions {
        isNot: boolean;
        message?: string;
        promiseExpectedState?: "resolves" | "rejects";
    }
    Index

    Properties

    isNot: boolean

    Whether the matcher is negated (e.g. expect(...).not.toBe(...)).

    message?: string

    An optional message to be used in the assertion error; passed as the second argument to expect.

    promiseExpectedState?: "resolves" | "rejects"

    If the matcher is expected to be called on a promise, this indicates whether it should resolve or reject. If undefined, the matcher is not expected to be called on a promise.