( action: BackendAlertAction, result: BackendAlertResult, )
| 335 | } |
| 336 | |
| 337 | function normalizeAlertResult( |
| 338 | action: BackendAlertAction, |
| 339 | result: BackendAlertResult, |
| 340 | ): SystemAlertCommandResult { |
| 341 | if (action === 'get') { |
| 342 | return normalizeAlertStatusResult(result); |
| 343 | } |
| 344 | if (action === 'wait') { |
| 345 | return normalizeAlertWaitResult(result); |
| 346 | } |
| 347 | return normalizeAlertHandledResult(action, result); |
| 348 | } |
| 349 | |
| 350 | function normalizeKeyboardEnterResult( |
| 351 | state: BackendKeyboardResult, |
no test coverage detected
searching dependent graphs…