(node: TreeNode)
| 694 | } |
| 695 | |
| 696 | private removeNode(node: TreeNode) { |
| 697 | const parent = node.parent; |
| 698 | if (parent) { |
| 699 | const index = parent.children.indexOf(node); |
| 700 | if (index > -1) |
| 701 | parent.children.splice(index, 1); |
| 702 | } |
| 703 | this.updateNode({ node, nodeWasRemoved: true }); |
| 704 | } |
| 705 | } |
| 706 | |
| 707 | export class SuiteData { |
no test coverage detected