(node: TreeNode)
| 35 | getHighestChildStatus(includeSkipped: boolean): TestStatus { |
| 36 | const statuses = new Set<TestStatus>(); |
| 37 | const addStatus = (node: TreeNode) => { |
| 38 | if (node !== this && node instanceof TestNode) |
| 39 | statuses.add(node.status); |
| 40 | for (const child of node.children) |
| 41 | addStatus(child); |
| 42 | }; |
| 43 | addStatus(this); |
| 44 | |
| 45 | // Always include Skipped status for Suite nodes that have only that status, else they'll |
no test coverage detected