()
| 119 | } |
| 120 | |
| 121 | async destroy() { |
| 122 | const model = this.tree.getModel(); |
| 123 | this.rootNode.children = []; |
| 124 | if (model.root) { |
| 125 | model.root.isExpanded = false; |
| 126 | return Promise.resolve(await model.root.hardReloadChildren()); |
| 127 | } |
| 128 | } |
| 129 | |
| 130 | next(item) { |
| 131 | if (item) { |
no test coverage detected