(id: string)
| 229 | } |
| 230 | |
| 231 | approveOperation(id: string): PendingOperation | null { |
| 232 | const operation = this.state.operations.find(op => op.id === id) |
| 233 | if (!operation || operation.status !== 'pending') return null |
| 234 | operation.status = 'approved' |
| 235 | return operation |
| 236 | } |
| 237 | |
| 238 | approveAll(): number { |
| 239 | let count = 0 |
no outgoing calls
no test coverage detected