* Use to check if property at provided reference keyPath exists for an object. * For checking deeply nested properties in an object you may use dot notation or an array containing * the keyPath for deep references. * * Optionally, you can provide a value to check if it's equal to the val
(
expectedPath: string | Array<string>,
expectedValue?: unknown,
)
| 275 | * expect(houseForSale).toHaveProperty('kitchen.area', 20); |
| 276 | */ |
| 277 | toHaveProperty( |
| 278 | expectedPath: string | Array<string>, |
| 279 | expectedValue?: unknown, |
| 280 | ): R; |
no outgoing calls
no test coverage detected