refactor: trim status helper exports · openclaw/openclaw@ef3ce37
steipete
·
2026-05-02
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -6,7 +6,6 @@ import {
|
6 | 6 | buildStatusProbesValue, |
7 | 7 | buildStatusSecretsValue, |
8 | 8 | buildStatusSessionsOverviewValue, |
9 | | -countActiveStatusAgents, |
10 | 9 | } from "./status-overview-values.ts"; |
11 | 10 | |
12 | 11 | describe("status-overview-values", () => { |
@@ -21,7 +20,6 @@ describe("status-overview-values", () => {
|
21 | 20 | ], |
22 | 21 | }; |
23 | 22 | |
24 | | -expect(countActiveStatusAgents({ agentStatus })).toBe(1); |
25 | 23 | expect(buildStatusAllAgentsValue({ agentStatus })).toBe( |
26 | 24 | "3 total · 2 bootstrapping · 1 active · 3 sessions", |
27 | 25 | ); |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。