(statuses = {})
| 3643 | } |
| 3644 | |
| 3645 | function getFirstUnfinishedStep(statuses = {}) { |
| 3646 | if (typeof loggingStatus !== 'undefined' && loggingStatus?.getFirstUnfinishedStep) { |
| 3647 | return loggingStatus.getFirstUnfinishedStep(statuses); |
| 3648 | } |
| 3649 | for (let step = 1; step <= 9; step++) { |
| 3650 | if (!isStepDoneStatus(statuses[step] || 'pending')) return step; |
| 3651 | } |
| 3652 | return null; |
| 3653 | } |
| 3654 | |
| 3655 | function hasSavedProgress(statuses = {}) { |
| 3656 | if (typeof loggingStatus !== 'undefined' && loggingStatus?.hasSavedProgress) { |
nothing calls this directly
no test coverage detected