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

    Assymmetric matcher that matches an array that contains all of the elements in the expected array, in any order. Note that received array may be a superset of the expected array and contain some extra elements.

    Use this method inside expect(value).toEqual(expected) to perform pattern matching.

    Usage

    expect([1, 2, 3]).toEqual(expect.arrayContaining([3, 1]));
    expect([1, 2, 3]).not.toEqual(expect.arrayContaining([1, 4]));

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    $$typeof: symbol = ...

    Symbol to identify asymmetric matcher.

    inverse: boolean

    If true, the matcher will check for non-matching values.

    sample: unknown[]

    The sample value to match against.

    Methods