(obj: any)
| 446 | } |
| 447 | |
| 448 | function getAllProperties(obj: any) { |
| 449 | let properties = new Set<string>(); |
| 450 | let currentObj = obj; |
| 451 | do { |
| 452 | Object.getOwnPropertyNames(currentObj).map((item) => properties.add(item)); |
| 453 | } while ((currentObj = Object.getPrototypeOf(currentObj)) && currentObj !== Object.prototype); |
| 454 | return [...properties.keys()]; |
| 455 | } |
| 456 | |
| 457 | let testsSelector: string; |
| 458 | export function runAll(testSelector?: string) { |