test: tighten status overview version assertion

This commit is contained in:
Peter Steinberger
2026-05-09 07:19:39 +01:00
parent decc8e8e5a
commit 95b6b18310

View File

@@ -1,4 +1,5 @@
import { describe, expect, it } from "vitest";
import { VERSION } from "../version.js";
import {
buildStatusAllOverviewRows,
buildStatusCommandOverviewRows,
@@ -63,7 +64,7 @@ describe("status-overview-rows", () => {
}),
).toEqual(
expect.arrayContaining([
{ Item: "Version", Value: expect.any(String) },
{ Item: "Version", Value: VERSION },
{ Item: "OS", Value: "macOS" },
{ Item: "Config", Value: "/tmp/openclaw.json" },
{ Item: "Security", Value: "Run: openclaw security audit --deep" },