UNPKG

@testing-library/react-native

Version:

Simple and complete React Native testing utilities that encourage good testing practices.

9 lines (8 loc) 402 B
/** * Matches whether given array prop contains the given value, or all given values. * * @param prop - The array prop to match. * @param matcher - The value or values to be included in the array. * @returns Whether the array prop contains the given value, or all given values. */ export declare function matchArrayProp(prop: Array<string> | undefined, matcher: string | Array<string>): boolean;