MCPcopy Create free account
hub / github.com/47ng/nuqs / prNumbersOf

Function prNumbersOf

packages/scripts/lib/commit-graph.test.ts:51–53  ·  view source on GitHub ↗
(changes: Change[])

Source from the content-addressed store, hash-verified

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

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected