Version:
function

matchExactProps

typescript
matchExactProps(expected: object, actual: object, props: readonly string[]): boolean

Parameters

NameTypeDescription
expectedobject-
actualobject-
propsreadonly string[]-

Returns

boolean

Was this page helpful?