()
| 1585 | } |
| 1586 | |
| 1587 | async destroyEngineInstance() { |
| 1588 | Object.values(this.context).forEach((controller: any) => { |
| 1589 | if (controller.destroy) { |
| 1590 | controller.destroy(); |
| 1591 | } |
| 1592 | }); |
| 1593 | this.removeAllListeners(); |
| 1594 | await this.resetState(); |
| 1595 | Engine.instance = null; |
| 1596 | } |
| 1597 | |
| 1598 | rejectPendingApproval( |
| 1599 | id: string, |
no test coverage detected