()
| 236 | } |
| 237 | |
| 238 | approveAll(): number { |
| 239 | let count = 0 |
| 240 | for (const op of this.state.operations) { |
| 241 | if (op.status === 'pending') { |
| 242 | op.status = 'approved' |
| 243 | count++ |
| 244 | } |
| 245 | } |
| 246 | return count |
| 247 | } |
| 248 | |
| 249 | retryOperation(id: string): PendingOperation | null { |
| 250 | const operation = this.state.operations.find(op => op.id === id) |
no outgoing calls
no test coverage detected