(id: number)
| 443 | } |
| 444 | |
| 445 | findOrCreateSession(id: number) { |
| 446 | let session = this.findSessionById(id); |
| 447 | if (session) return session; |
| 448 | |
| 449 | session = new ClientStateSession(); |
| 450 | session.id = id; |
| 451 | this.sessions.push(session); |
| 452 | |
| 453 | return session; |
| 454 | } |
| 455 | |
| 456 | findOrCreateTree(id: number) { |
| 457 | let tree = this.findTreeById(id); |
no test coverage detected