(changes: Change[])
| 49 | // The PR numbers of the PR-sourced changes, in order (commit-sourced changes |
| 50 | // have no number). |
| 51 | function prNumbersOf(changes: Change[]): number[] { |
| 52 | return changes.flatMap(c => (c.source === 'squashedPR' ? [c.prNumber] : [])) |
| 53 | } |
| 54 | |
| 55 | describe('resolveChannel', () => { |
| 56 | it('maps a GA tag to the stable channel', () => { |