effect-playwright
    Preparing search index...

    Type Alias Expect<ExtendedMatchers>

    Expect: {
        configure: (
            configuration: { message?: string; soft?: boolean; timeout?: number },
        ) => Expect<ExtendedMatchers>;
        not: Omit<AsymmetricMatchers, "any" | "anything">;
        poll: <T = unknown>(
            actual: () => T | Promise<T>,
            messageOrOptions?:
                | string
                | { intervals?: number[]; message?: string; timeout?: number },
        ) => PollMatchers<Promise<void>, T, ExtendedMatchers>;
        soft: Expect<ExtendedMatchers>;
        extend<
            MoreMatchers extends
                Record<
                    string,
                    (
                        this: ExpectMatcherState,
                        receiver: any,
                        ...args: any[],
                    ) => MatcherReturnType | Promise<MatcherReturnType>,
                >,
        >(
            matchers: MoreMatchers,
        ): Expect<ExtendedMatchers & MoreMatchers>;
        getState(): unknown;
        <T = unknown>(
            actual: T,
            messageOrOptions?: string | { message?: string },
        ): MakeMatchers<void, T, ExtendedMatchers>;
    } & AsymmetricMatchers

    Type Parameters

    • ExtendedMatchers = {}