(obj: any, properties: string[] | null, prototype?: any)
| 441 | } |
| 442 | |
| 443 | function isPropertiesPatched(obj: any, properties: string[] | null, prototype?: any) { |
| 444 | if (properties) { |
| 445 | for (let i = 0; i < properties.length; i++) { |
| 446 | if (!isPropertyPatched(obj, 'on' + properties[i], prototype)) { |
| 447 | fail(`${properties[i]} is not patched on ${obj}`); |
| 448 | } |
| 449 | } |
| 450 | } |
| 451 | } |
| 452 | |
| 453 | isPropertiesPatched( |
| 454 | window, |
no test coverage detected
searching dependent graphs…