(
id: string,
releases: { name: string; type: BumpTypeWithNone }[],
summary = 'Test change',
extra: Partial<Pick<BumpFile, 'noChangelog' | 'channel'>> = {},
)
| 75 | |
| 76 | /** Create a BumpFile for testing */ |
| 77 | export function makeBumpFile( |
| 78 | id: string, |
| 79 | releases: { name: string; type: BumpTypeWithNone }[], |
| 80 | summary = 'Test change', |
| 81 | extra: Partial<Pick<BumpFile, 'noChangelog' | 'channel'>> = {}, |
| 82 | ): BumpFile { |
| 83 | return { id, releases, summary, ...extra }; |
| 84 | } |
| 85 | |
| 86 | /** Create a ReleasePlan for testing */ |
| 87 | export function makeReleasePlan(releases: PlannedRelease[], bumpFiles: BumpFile[] = []): ReleasePlan { |
no outgoing calls
no test coverage detected
searching dependent graphs…