method
test.Expect.arrayContaining
arr: readonly E[]
): any;
Matches any array made up entirely of elements in the provided array. Use it inside toEqual or toBeCalledWith instead of a literal value.
Optionally, pass a type for the elements as a generic argument.