Every bucket delayed by 24h and the clock just started: nobody is eligible.
(version: string)
| 136 | |
| 137 | /** Every bucket delayed by 24h and the clock just started: nobody is eligible. */ |
| 138 | function heldForEveryone(version: string): UpdateManifest { |
| 139 | return manifestFor(version, { |
| 140 | publishedAt: new Date(Date.now() - 1_000).toISOString(), |
| 141 | rollout: [{ percent: 100, delaySeconds: 86_400 }], |
| 142 | }); |
| 143 | } |
| 144 | |
| 145 | /** Every bucket immediate and publishedAt long past: everybody is eligible. */ |
| 146 | function releasedForEveryone(version: string): UpdateManifest { |
no test coverage detected