()
| 222 | } |
| 223 | |
| 224 | clearOperations(): number { |
| 225 | const removable = this.state.operations.filter(op => op.status !== 'running') |
| 226 | const count = removable.length |
| 227 | this.state.operations = this.state.operations.filter(op => op.status === 'running') |
| 228 | return count |
| 229 | } |
| 230 | |
| 231 | approveOperation(id: string): PendingOperation | null { |
| 232 | const operation = this.state.operations.find(op => op.id === id) |
no outgoing calls
no test coverage detected