Skip to content

Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS

test: expect unavailable checkout presence to reject (#13271)

Adam Eivy90e5c95292b3
diff --git a/server/services/branchReconcileInventoryPrune.test.js b/server/services/branchReconcileInventoryPrune.test.js
index 1922d280a3..f86febd539 100644
--- a/server/services/branchReconcileInventoryPrune.test.js
+++ b/server/services/branchReconcileInventoryPrune.test.js
@@ -24,6 +24,6 @@ describe('historical checkout inventory', () => {
readCheckoutPathPresence.mockResolvedValueOnce(true);
expect(await findGoneInventoryRows('/repo', rows, { includeObligations: true })).toEqual([]);
readCheckoutPathPresence.mockResolvedValueOnce(null);
- expect(await findGoneInventoryRows('/repo', rows, { includeObligations: true })).toEqual([]);
+ await expect(findGoneInventoryRows('/repo', rows, { includeObligations: true })).rejects.toThrow('checkout-presence-unavailable');
});
});