mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 17:10:49 +00:00
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:
committed by
Mariano Belinky
parent
839f1e6131
commit
4dd3c5957e
@@ -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,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user