test(tasks): align maintenance summary assertions with recovered field

Add recovered: 0 to existing toEqual assertions in task-registry.test.ts
that compare the full TaskRegistryMaintenanceSummary shape.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Garry Tan
2026-04-20 05:30:38 +08:00
committed by Mariano Belinky
parent 839f1e6131
commit 4dd3c5957e

View File

@@ -1328,6 +1328,7 @@ describe("task-registry", () => {
expect(await runTaskRegistryMaintenance()).toEqual({
reconciled: 1,
recovered: 0,
cleanupStamped: 0,
pruned: 0,
});
@@ -1363,6 +1364,7 @@ describe("task-registry", () => {
expect(await sweepTaskRegistry()).toEqual({
reconciled: 0,
recovered: 0,
cleanupStamped: 0,
pruned: 1,
});
@@ -1406,12 +1408,14 @@ describe("task-registry", () => {
expect(previewTaskRegistryMaintenance()).toEqual({
reconciled: 0,
recovered: 0,
cleanupStamped: 1,
pruned: 0,
});
expect(await runTaskRegistryMaintenance()).toEqual({
reconciled: 0,
recovered: 0,
cleanupStamped: 1,
pruned: 0,
});
@@ -1530,6 +1534,7 @@ describe("task-registry", () => {
expect(await runTaskRegistryMaintenance()).toEqual({
reconciled: 0,
recovered: 0,
cleanupStamped: 0,
pruned: 0,
});
@@ -1570,6 +1575,7 @@ describe("task-registry", () => {
expect(await sweepTaskRegistry()).toEqual({
reconciled: 0,
recovered: 0,
cleanupStamped: 0,
pruned: 0,
});