Skip to content

Commit 85acd2d

Browse files
galuis116JSONbored
authored andcommitted
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 d5c8538 commit 85acd2d

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
@@ -1508,6 +1508,7 @@ describe("runAttempt (#5132)", () => {
15081508
},
15091509
release: vi.fn(),
15101510
listSlots: () => [],
1511+
purgeByRepo: vi.fn(() => 0),
15111512
close: vi.fn(),
15121513
}),
15131514
openClaimLedger: () => claimLedger,

0 commit comments

Comments
 (0)