(key: 'fresh' | 'agent' | 'upgrade', on: string)
| 1243 | const proof: InstallProof = { first: pick(), fresh: null, agent: null, upgrade: null }; |
| 1244 | const seen = (on: string): void => void (on < proof.first && (proof.first = on)); |
| 1245 | const lower = (key: 'fresh' | 'agent' | 'upgrade', on: string): void => { |
| 1246 | if (proof[key] === null || on < proof[key]!) proof[key] = on; |
| 1247 | seen(on); |
| 1248 | }; |
| 1249 | uploads.push([machine, index(`${proof.first}T09:00:00Z`)]); |
| 1250 | for (let n = Math.floor(random() * 5); n > 0; n--) { |
| 1251 | const on = pick(); |
no test coverage detected