test: drop redundant empty-profile extraction cases

This commit is contained in:
Peter Steinberger
2026-02-16 06:25:18 +00:00
parent 8f603ec03d
commit ac02e45a88

View File

@@ -102,10 +102,6 @@ describe("getUsedPorts", () => {
expect(getUsedPorts(undefined)).toEqual(new Set());
});
it("returns empty set for empty profiles object", () => {
expect(getUsedPorts({})).toEqual(new Set());
});
it("extracts ports from profile configs", () => {
const profiles = {
openclaw: { cdpPort: 18792 },
@@ -227,10 +223,6 @@ describe("getUsedColors", () => {
expect(getUsedColors(undefined)).toEqual(new Set());
});
it("returns empty set for empty profiles object", () => {
expect(getUsedColors({})).toEqual(new Set());
});
it("extracts and uppercases colors from profile configs", () => {
const profiles = {
openclaw: { color: "#ff4500" },