(id)
| 205 | }, |
| 206 | |
| 207 | closeToLeft(id) { |
| 208 | const group = getFocusedGroup(get()) |
| 209 | if (!group) return |
| 210 | const idx = group.tabIds.indexOf(id) |
| 211 | if (idx < 0) return |
| 212 | const toClose = group.tabIds.slice(0, idx) |
| 213 | for (const tid of toClose) get().closeTab(tid) |
| 214 | }, |
| 215 | |
| 216 | closeAll() { |
| 217 | const group = getFocusedGroup(get()) |
no test coverage detected