(overrides: Partial<ResolvedSnapshot>)
| 83 | |
| 84 | describe('snapshotVersion', () => { |
| 85 | const base = (overrides: Partial<ResolvedSnapshot>): ResolvedSnapshot => ({ |
| 86 | rawName: 'pr-123', |
| 87 | name: 'pr-123', |
| 88 | tag: 'pr-123', |
| 89 | strategy: 'sha', |
| 90 | suffix: 'a1b2c3d', |
| 91 | ...overrides, |
| 92 | }); |
| 93 | |
| 94 | test('sha → <target>-<name>-<sha>', () => { |
| 95 | const v = snapshotVersion('1.4.0', base({ strategy: 'sha', suffix: 'a1b2c3d' })); |
no outgoing calls
no test coverage detected
searching dependent graphs…