Skip to content

Commit 14f184f

Browse files
committed
test(miner): add purgeByRepo to attempt-cli's inline WorktreeAllocator fake
Follow-up to the worktree-allocator purge-cli fix: the interface's new required method broke this test file's hand-constructed allocator stub, caught by the root typecheck (not the miner package's own scoped build, which doesn't see test/unit/**).
1 parent 62847b4 commit 14f184f

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

test/unit/miner-attempt-cli.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1372,6 +1372,7 @@ describe("runAttempt (#5132)", () => {
13721372
},
13731373
release: vi.fn(),
13741374
listSlots: () => [],
1375+
purgeByRepo: vi.fn(() => 0),
13751376
close: vi.fn(),
13761377
}),
13771378
openClaimLedger: () => claimLedger,

0 commit comments

Comments
 (0)