MCPcopy Create free account
hub / github.com/dmno-dev/bumpy / base

Function base

packages/bumpy/test/core/snapshot.test.ts:85–92  ·  view source on GitHub ↗
(overrides: Partial<ResolvedSnapshot>)

Source from the content-addressed store, hash-verified

83
84describe('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' }));

Callers 1

snapshot.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…